Licence
MIT
Version
1.0.1
Deps
1
Size
27 kB
Vulns
0
Weekly
0
eventsquare-remixicon-react-builder
Remix Icons for React packaged as single components
This repo is based on the very good mdi-react package.
Installation
npm install eventsquare-remixicon-react
# or if you use Yarn
yarn add eventsquare-remixicon-react
Usage
Just search for an icon on remixicon.com and look for its name.
The name translates to Svg followed by the name in remixicon-react converted to PascalCaseIcon.
For example the icons named alert-line and alert-fill:
import AlertLineIcon from 'eventsquare-remixicon-react/AlertLineIcon';
import AlertFillIcon from 'eventsquare-remixicon-react/AlertFillIcon';
const MyComponent = () => {
return (
<div>
<AlertFillIcon />
<AlertLineIcon className="some-class" />
</div>
);
};