0.0.22 • Published 5 months ago

nui-react-icons v0.0.22

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

react-icons

A collection of React icons created with TypeScript.

Installation

You can install the package from the GitHub repository using npm or yarn:

npm install nui-react-icons
yarn add nui-react-icons

Usage

Import the icons you need from the package:

import { UploadIcon } from "nui-react-icons";

Then, use the icons as React components in your application:

function App() {
  return (
    <div>
      <UploadIcon size={48} className="h-16 w-16" fill="#007bff" />
    </div>
  );
}

Props

The icon components accept the following props:

  • size (number, optional): The size of the icon in pixels. If not provided, the default size of 36 will be used.
  • width (number, optional): The width of the icon in pixels.
  • height (number, optional): The height of the icon in pixels.
  • Any other valid SVG props (e.g., fill, stroke, className, etc.).

Development

To develop and build the package locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/teebarg/react-icons.git
  1. Install dependencies:
npm install
  1. Build the package:
npm run build

This will compile the TypeScript code into the dist directory.

Contributing

Contributions are welcome! If you find any issues or want to add new icons, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

0.0.20

6 months ago

0.0.21

5 months ago

0.0.22

5 months ago

0.0.18

9 months ago

0.0.19

7 months ago

0.0.16

9 months ago

0.0.17

9 months ago

0.0.10

11 months ago

0.0.11

10 months ago

0.0.12

9 months ago

0.0.13

9 months ago

0.0.14

9 months ago

0.0.15

9 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.1

1 year ago