react-icons

Render SVG icons in React/Next.js by importing from react-icons.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/cfardev/kanban-hub --skill react-icons
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-icons
Source: https://github.com/cfardev/kanban-hub/tree/main/.agents/skills/react-icons
Command: npx skills add https://github.com/cfardev/kanban-hub --skill react-icons

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use react-icons to add scalable SVG icons in React/Next.js applications by enabling simple imports and consistent prefixes across multiple icon sets.

Core Features & Use Cases

  • Import icons from a large collection of sets (Fa*, Hi*, Lu*, Md*, etc.) and render them as inline SVG components.
  • Standardize icon imports using set prefixes and path conventions to enable tree-shaking and smaller bundles.
  • Use in UI kits, dashboards, and design systems to quickly assemble consistent iconography with minimal boilerplate.

Quick Start

Import icons from react-icons in your component to render inline SVG icons.

Frequently Asked Questions about react-icons

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add SVG icons in React and Next.js?

To add SVG icons in React and Next.js, import icon components directly from react-icons. This renders inline SVG elements with minimal boilerplate for your UI components.

How do I import icons in React without bloating my bundle?

To avoid bundle bloat when importing icons, use standardized set prefixes and import paths from react-icons. This enables tree-shaking, ensuring only selected SVG icons are bundled.

What icon sets are available for React UI components?

React UI components can access a large collection of icon sets using react-icons. Sets are organized by prefixes like Fa*, Hi*, Lu*, and Md*, providing consistent iconography for design systems.

Can I use react-icons in a component library or design system?

Yes, react-icons is applicable in UI development, component libraries, and design systems. It provides consistent iconography and standardized prefixes to quickly assemble scalable inline SVG icons.

What is the best way to standardize icon imports across multiple icon sets?

The best way to standardize icon imports is using set prefixes and path conventions from react-icons. This ensures consistent inline SVG rendering while enabling tree-shaking and bundle optimization.