iconic-react
v0.5.0
Published
iconic-react icons pack for React
Maintainers
Readme
©️ iconsax github and official website(other format and platform available)
Installation
yarn add iconic-react
# or
npm i iconic-react
Usage
import React from 'react';
//import icon.
import { EmojiHappy } from 'iconic-react';
const Example = () => {
// then use it as a normal React Component
return <EmojiHappy />;
};You can configure Icons with inline props:
<EmojiHappy color="#eee" variant="Bulk" size={54} />
// 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 |
Contributing
See CONTRIBUTING.md
License
©️ ALL RIGHTS RESERVED TO IBNAHMAD MOHAMED
MIT
