JSPM

permitio-remixicon-react

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q59005F
  • License (MIT AND OFL-1.1)

Remix Icon for React

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (permitio-remixicon-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

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