@csmf/remixicon-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

remixicon-react npm package Remix Icons version build status

Remix Icons for React packaged as single components

This repo is based on the very good mdi-react package.

Installation

npm install dathost-remixicon-react
# or if you use Yarn
yarn add 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>
  );
};

/@csmf/remixicon-react/

    Package Sidebar

    Install

    npm i @csmf/remixicon-react

    Weekly Downloads

    1

    Version

    1.0.3

    License

    none

    Unpacked Size

    2.69 MB

    Total Files

    5339

    Last publish

    Collaborators

    • slobber