iconic-react icons pack for React
npm install iconic-react
1000 icons in 6 different styles, total 6000 icons |
Perfectly balance |
24px grid-based
bash
yarn add iconic-react
or
npm i iconic-react
`
Usage
`jsx
import React from 'react';
//import icon.
import { EmojiHappy } from 'iconic-react';
const Example = () => {
// then use it as a normal React Component
return ;
};
`
You can configure Icons with inline props:
`jsx
// happy emoji with color #eee, variant Bulk and size 54px with love ❤️ (ibnahmad)
`
Props
| Prop | Type | Default | Note |
| --------- | --------------------------------------------------- | -------------- | ---------------------- |
| color | string | currentColor | css color |
| size | number string | 24px | size={24} or size="24" |
| variant | Linear Outline TwoTone Bulk Broken Bold | Linear` | icons styles |