@nataicons/react
v1.0.1
Published
A fun-themed simple open source icon made by the folks at Natatoko. This package provides React components for easy integration of icons.
Downloads
1
Maintainers
Readme
Installation
Install with npm
npm install @nataicons/react
Usage
- Import the icon components
import { AlarmIcon, NataIcon } from "@nataicons/react"
- Use the icon components in your JSX
function MyComponent() {
return (
<div>
<AlarmIcon color="red" size={24} />
<NataIcon name="bell" color="blue" size={32} />
</div>
)
}
You can set a custom size
(in pixels) or use the default sizes (24px or 20px). The color
prop allows you to change the icon color.
om size
(in pixels) or use the default sizes. The color
prop allows you to change the icon color.
License
Nataicons is licensed under the MIT License. In short, you are free to use this icons in any personal, open-source or commercial work. Attribution is optional but appreciated.