2.1.0 • Published 4 months ago

@zaniluca/react-remixicon v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@zaniluca/react-remixicon

Remixicon packaged as tree-shakable react components.

!NOTE This package is automatically synced with the latest version of Remixicon. If you find any missing icon, please open an issue or a pull request.

Installation

npm i @zaniluca/react-remixicon
# or
yard add @zaniluca/react-remixicon
# or
pnpm i @zaniluca/react-remixicon

Usage

Search on remixicon.com for the icon you want to use and copy the name of the icon. Then import the icon component and use it in your app.

import { SampleIcon, AnotherSampleIcon } from "@zaniluca/react-remixicon";

const App = () => {
  return (
    <div>
      <SampleIcon />
      <AnotherSampleIcon className="text-gray-500" />
    </div>
  );
};

As you can see, you can pass any valid className to the icon component. This is useful to change the color of the icon or to add a custom size, it even works with tailwindcss.

Note: All icons are exported as PascalCase and suffixed with Icon.

2.1.0

4 months ago

2.0.0

5 months ago

1.2.0

5 months ago

1.1.0

6 months ago

1.0.0

7 months ago

0.0.1-alpha.11

7 months ago

0.0.1-alpha.10

7 months ago

0.0.1-alpha.9

7 months ago

0.0.1-alpha.8

7 months ago

0.0.1-alpha.7

7 months ago

0.0.1-alpha.6

7 months ago

0.0.1-alpha.5

7 months ago

0.0.1-alpha.4

7 months ago

0.0.1-alpha.3

7 months ago

0.0.1-alpha.2

7 months ago

0.0.1-alpha.1

7 months ago

0.0.1-alpha.0

7 months ago