Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 901 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 901 Bytes

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>
  );
};