Dieter Petereit December 8th, 2014

With and Without JS: SVG Loader and SVG Morpheus Beautify Your (Web) App

If you are into designing for multiple resolutions, SVG is the best option to turn to as far as the use of graphics is concerned. These small vector files can be scaled up and down as you like it without sacrificing quality. And with the two tools I am about to introduce you to, SVG will even move… bulldozer-2198_640 Image by PublicDomainPictures from Pixabay

SVG Morpheus: Morphing One Icon to Another

SVG Morpheus is a completely free JavaScript library, released under the terms of the MIT license. The library, just recently created by Alex Kaul, morphs one SVG icon to another. Setting this up is fairly simple. You create an SVG icon set consisting of two SVGs like so: svgmorpheus-code Just like you are used to with JavaScript you now create an instance:
var myIcons = new SVGMorpheus('#myIconSet');
After initializing, an SVG object will let you do the trick:
myIcons.to('icon1');
Each icon has its own ID which will be the handler for the SVGMorpheus object used to do the morphing. Options are two handful, the library needs no intellectual rocket scientist. A look at the documentation over at Github will do. svgmorpheus As I mentioned, SVG Morpheus is freely usable and brand-new. It implements Material’s Delightful Details and is as such state-of-the-art in modern UX design. The screenshot is static, but the tool will actually beautifully morph one icon to another. Check the demo linked below. SVG Morpheus | Github | Demo | Delightful Details

SVG Loaders: Animated Loader Icons in Pure SVG

SVG Loaders by Sam Herbert is another free effort, distributed under the terms of the MIT license and available for download over at Github. SVG Loaders is no JavaScript library nor CSS stylesheet, it consists purely of (animated) SVGs. svgloaders Sam designed a set of 12 loaders that can easily be modified in color by using the ´fill´ attribute in the SVG itself. Sizes can be set to your liking as SVG is scalable and vector-based. Simply set width and height values. Don’t get confused by the screenshot. These SVGs will move. Head on over to the demo linked below. SVG Loaders | Github | Demo

Dieter Petereit

Dieter Petereit is a veteran of the web with over 25 years of experience in the world of IT. As soon as Netscape became available he started to do what already at that time was called web design and has carried on ever since. Two decades ago he started writing for several online publications, some well, some lesser known. You can meet him over on Google+.

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *