Skip to content

dathost/remixicon-react

 
 

Repository files navigation

Installation

npm install dathost-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 PascalCase.

For example the icons named alert-line and alert-fill:

import SvgAlertLine from 'dathost-remixicon-react/SvgAlertLine';
import SvgAlertFill from 'dathost-remixicon-react/SvgAlertFill';

const MyComponent = () => {
  return (
    <div>
      <SvgAlertFill />
      <SvgAlertLine className="some-class" />
    </div>
  );
};

About

Remix Icons for React packaged as single components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%