@proicons/react
v4.13.2
Published
ProIcons icon library for ReactJS
Maintainers
Readme
ProIcons for React
Features
- All icons are available as customizable React components
- Supports ESM tree-shaking
Read the full documentation here
Installation
Install via NPM:
npm install @proicons/react[!IMPORTANT] This package is ESM-only. To use in CommonJS contexts, use
await import('@proicons/react')(asynchronous) orrequire('@proicons/react')in newer Node.js versions.
Usage
All icons are available as React components named in PascalCase and may end in Icon.
To import the Add Square icon:
import { SearchIcon } from '@proicons/react'
function App() {
return <SearchIcon color="red" size={32} />
}Request an icon
If an icon you want isn't in the set, you can request an icon in discussions.
Contributing
For more info on how to contribute, please see our contributing guide.
