SVG bell icon for react with animations (2.71kB only)
Demo: https://gauravchl.github.io/react-bell-icon/demo/
Install:
npm install react-bell-icon
Use:
import BellIcon from 'react-bell-icon';
<BellIcon width='40' active={true} animate={true} />
Props:
Props | Type | Description |
---|---|---|
width | string | width of bell icon, default is 40 |
height | string | height of bell icon, default is 40 |
animationSpeed | string | Animation speed in seconds, default is 0.3 |
color | string | Color for icon, default is black(#000) |
animate | boolean | Control whether bell should animate or not, default value = false |
active | boolean | Control whether bell is active or not, default value = false |
style | object | For inline style, applied to SVG tag |