pyro-icons
v1.1.0
Published
React Native SVG icon library with 3000+ icons
Downloads
130
Maintainers
Readme
Pyro Icons
A comprehensive React Native SVG icon library with 3000+ icons.
Installation
npm install @pyro/icons react-native-svg
# or
yarn add @pyro/icons react-native-svgUsage
import { AddCircleFill, HeartLine, StarFill } from '@pyro/icons';
function MyComponent() {
return (
<>
<AddCircleFill size={24} color="#000" />
<HeartLine size={32} color="red" />
<StarFill size={16} color="#FFD700" />
</>
);
}Icon Props
All icons accept the following props:
| Prop | Type | Default | Description | |------|------|---------|-------------| | size | number | 24 | Icon size in pixels | | color | string | "currentColor" | Icon color | | strokeWidth | number | 2 | Stroke width (for line icons) |
Development
# Generate icons from SVG source
npm run generate-icons
# Fix icon component formatting
npm run fix-icons
# Generate index.ts exports
npm run generate-index
# Build the library
npm run build
# Type check
npm run typecheckLicense
MIT
