Remix Icons for React packaged as single components
This repo is based on the very good mdi-react package.
npm install eventsquare-remixicon-react
# or if you use Yarn
yarn add eventsquare-remixicon-react
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>
);
};