react-eva-icons
v0.0.8
Published
React js components for awesome Eva Icons
Downloads
1,090
Readme
⚛:heart: react-eva-icons
React.js components for the awesome open source Eva Icons library.
Demo
Visit here
Getting Started
Using npm
npm install --save react-eva-icons
Or using yarn
yarn add react-eva-icons
Usage
import Icon from 'react-eva-icons';
...
render (
<Icon
name="activity"
size="medium" // small, medium, large, xlarge
animation={{
type: "pulse", // zoom, pulse, shake, flip
hover: true,
infinite: false
}}
/>
);
Props
| Option | Type | Values | Description |
|-------------|----------|----------------------------------------------------------|------------------------------|
| animation
| object | See here | Icon animation |
| fill
| string | e.g. '#fff'
| Icon color |
| name
| string | e.g. 'activity'
| Define the name of the icon |
| size
| string |small
, medium
, large
, ``xlarge | Icon size |
License