@open-react-hub/react-icons
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

@open-react-hub/react-icons

A lightweight, customizable React icon library.

Installation

npm install @open-react-hub/react-icons

Usage

import { Menu, Code } from "@open-react-hub/react-icons";

function MyComponent() {
  return (
    <div>
      <Menu size={32} color="blue" />
      <Code strokeWidth={3} />
    </div>
  );
}

Props

  • size: Icon size in pixels (default: 24)
  • color: Icon color (default: currentColor)
  • strokeWidth: Line thickness (default: 2)

Package Sidebar

Install

npm i @open-react-hub/react-icons

Weekly Downloads

0

Version

1.0.8

License

MIT

Unpacked Size

340 kB

Total Files

7

Last publish

Collaborators

  • abass-bencheik