An implementation of the ProIcons icon library for React applications.
Browse icons |
Documentation |
GitHub |
NPM
- All icons are available as customizable React components
- Supports ESM tree-shaking
Read the full documentation here
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.
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} />
)
}
For more info on how to contribute, please see our contributing guide.