Okra-Icons
This package provides the Okra-icons packaged as a set of React components.
Installation
Install the package in your project directory with:
// with npmnpm install okra-icons // with yarnyarn add okra-icons
These components uses React to render the SVG path for each icon, and so a have a peer-dependency on the release of React.
Component Usage
You can use path imports to avoid pulling in unused modules. For instance, use:
// 🚀 Fast import AccountIcon from 'okra-icons/svg/AccountIcon'; import TeamIcon from 'okra-icons/svg/TeamIcon';
instead of top level imports:
import AccountIcon from 'okra-icons/svg';
<AccountIcon = = "red" = "25.222" = "23.013" = "" = "0 0 25.222 23.013" />
Documentation
- The documentation
- [The icons search]