Choose Your Package Manager
Requirements
React Icons requires React 16.3 or higher as a peer dependency.package.json
React Icons version 5.6.0 includes native TypeScript support. No need to install
@types/react-icons separately.Alternative Installation (Meteor, Gatsby)
For projects where bundle size optimization is critical, you can use the@react-icons/all-files package, which allows importing individual icon files:
Usage with Individual Files
Verify Installation
After installation, verify that React Icons is properly installed:1
Import an icon
Try importing an icon from any icon pack:
2
Use the icon component
Use it as a regular React component:
3
Run your project
Start your development server and check that the icon renders correctly.
Next Steps
Quickstart Guide
Learn how to use React Icons with complete examples
Icon Packs
Explore all available icon packs and libraries