rei

react-evil-icons

Evil icons as react components

Showing:

Popularity

Downloads/wk

7

GitHub Stars

75

Maintenance

Last Commit

4yrs ago

Contributors

4

Package

Dependencies

7

License

Apache-2.0

Type Definitions

Tree-Shakeable

No?

Categories

Readme

React Evil Icons

React components for the excellent http://evil-icons.io/

A React component for the Icons


    <html>
        <head>
            <link rel="stylesheet" href="/evil-icons.css">
        </head>
        <body>
            <!-- evil icons sprite svg goes here - see task below -->

            <div id="app"></div>

        </body>
    </html>


    var React = require('react');
    var Icon = require('react-evil-icons');

    React.render(
        <Icon name="ei-eye" size="l" />,
        document.getElementById('app')
    );

A gulp task to write the icon sprite into the HTML


    var evilIconSprite = require('./node_modules/react-evil-icons/tasks/icons'); 

    evilIconSprite('./src/index.html', './_site') 

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial