eventsquare-remixicon-react
v1.0.1
Published
[Remix Icons](https://remixicon.com/) for React packaged as single components
Downloads
1
Keywords
Readme
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>
);
};