GithubHelp home page GithubHelp logo

samherbert / svg-loaders Goto Github PK

View Code? Open in Web Editor NEW
6.8K 6.8K 4.5K 60 KB

Loading icons and small animations built with pure SVG.

Home Page: http://samherbert.net/svg-loaders

License: MIT License

HTML 100.00%

svg-loaders's People

Contributors

ajwann avatar ericmagnuson avatar kkirsche avatar m90 avatar samherbert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

svg-loaders's Issues

Awesome, but sort of useless.

First let me start with saying how awesome these loaders are. Well done ๐Ÿ‘

But I can't really find use for this loaders. SVG animations only really start to animate once everything is loaded, so they can't really be used as a preloader indicator. Any ideas how I can get around this?\

Thanks,
Paul

convert to react component

Hi Sam,

May i convert SVG-Loaders to react component ? and i will publish to github ?

BGD
Safei Muslim

Pass params when calling

I frankly don't know how SVG works but I was wondering since I'm using Bower to include the plugin, and then I'm ignoring the script's folder in Git, I can't change the fill color in the SVG file itself (it won't be pushed with the git commit). I was wondering if I can change the fill from the call, add something like

<img src="/vendor/svg-loaders/svg-loaders/bars.svg" width="40" alt="" fill="#222" >

Dark versions for use on white websites

Hi @SamHerbert ,

I've forked your repository and am looking to include dark versions (#fff replaced with #000) for all the svg files, as these work great on webpages with white or lighter backgrounds (like the one I am working on right now).

If you would like, I can submit a pull request for this and maybe even include a switch on the index.html page to flip to dark versions so users are aware they exist. What do you think?
snapshot5

I know it's kind of duplicating things unnecessarily, but it would be really handy for the bower users out there.

If you aren't happy with that I can create a bash script that 'builds' the dark versions by taking the white version, using something like sed and replacing #FFF with #000 in them so when you make changes to the white versions you can simply run the script to build/update the dark versions.

SVG canvas attributes...

Hello Sam,

Thank you for the lovely SVG icons.

Quick question - wondering why you have some fill / stroke attributes are on the root SVG tag instead of being in a nested group ? .

In the following code I moved stroke="#fff" to the group ( from rings.svg ) and it works a treat:

.....

For other loaders ( like the grid ) - the fill="#fff" could be part of a nested group .

Anyway - I was just wondering - as I am importing / loading the loaders into another SVG canvas and that is causing issues. I am quite happy changing your wonderful loaders to suit my needs - but I was wondering if there was a reason.

Best

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.