@signoz-icons/icons
v1.0.0
Published
SVG-based React icon components
Downloads
3
Readme
@signoz/icons
Description
@signoz/icons
is a collection of SVG-based React icon components. This package provides a set of customizable icons that can be easily integrated into your React projects.
Features
- SVG-based icons for high-quality rendering
- Customizable via React props
- Easy integration with React projects
Installation
To install the package, use npm:
npm install @signoz/icons
Usage
To use an icon in your project, import it from the package and include it in your component:
import { IconName } from '@signoz/icons';
const MyComponent = () => (
<IconName />
);
Replace IconName
with the actual name of the icon you want to use.
Scripts
The following scripts are available in the package:
prebuild
: Cleans thesrc
anddist
directories usingrimraf
.build
: Runs thesvgr
script and then builds the project usingrollup
.svgr
: Converts SVG files to React components with specific options.
To run these scripts, use npm:
npm run prebuild
npm run build
npm run svgr
Development
Prerequisites
Make sure you have the following installed:
- Node.js
- npm
Building the Project
To build the project, run:
npm run build
This will generate the dist
directory with the compiled files.
Contributing
We welcome contributions to this package. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.