React Modern Icons is a set of modern icons for React
npm install react-modern-iconsyarn add react-modern-icons
or
npm i react-modern-icons
``jsx
import { NotificationUnread } from 'react-modern-icons'
function MyComponent() {
return
}
`
or
`jsx
import { NotificationUnread } from 'react-modern-icons'
function MyComponent() {
return (
size={30}
variant='filled'
/>
)
}
`
The package also provides options to customize the size, color, and other properties of the icons. Refer to the documentation for more information on customization options.
- Comprehensive collection of modern icons
- asy-to-use and lightweight package
- Customizable size, color, and other properties
- Compatible with React 16.8 or higher
| Prop | Type | Default |
|----------|---------|----------|
| color | string | currentColor |(number or string)
| size | | 1em |light
| variant | regular bold filled duotone | regular |string
| title | | |string
| className | | |object` | |
| style |
Contributions to React Modern Icons are always welcome! If you find a bug or have a suggestion for a new feature, please submit an issue or pull request on our GitHub repository.
React Modern Icons is licensed under the MIT License. See the LICENSE file for more information.