Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ProIcons for React

Version Stars NPM Package License


⚛️ An implementation of the ProIcons icon library for React applications.
Browse icons | Documentation | GitHub | NPM

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) or require('@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.