React icons libraries

Updated Nov 2026

React icon libraries ship icons as React components, each rendering an inline SVG element. These libraries let apps size and color each icon with props or CSS and ship only the icons a project imports.

Popularity

Lucide React has the most monthly downloads in this comparison, at 481.4M.

LibraryMonthly downloadsStarsLast releaseLicense
Lucide React
520.6M
25.7KNov 2026ISC
React Icons
45.2M
12.7KJun 2026MIT
Material UI Icons
39.3M
99.4KOct 2026MIT
Radix Icons
29.9M
2.7KNov 2024MIT
Phosphor Icons
29.4M
1.8KMay 2025MIT
Heroicons
23.7M
23.9KNov 2024MIT
Ant Design Icons
23.4M
1.1KAug 2026MIT
Tabler Icons
20.2M
22.7KNov 2026MIT
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

Lucide React is the React package for Lucide, an icon set built as ES modules. Each icon is a component, such as Camera, that renders an inline SVG element, and bundlers drop every icon a project never imports. Props set size, color, and strokeWidth, and nonScalingStroke keeps the line weight constant when an icon is scaled up or down. Any standard SVG attribute also passes through as a prop.

Downloads / mo
520.6M
Stars
25.7K
Last release
1.75.0
License
ISC

Strengths

  • Keeps strokes consistent when resized. Enable nonScalingStroke to keep stroke width constant across icon sizes.
  • Shares defaults through a provider. Set size, color, and stroke width once with LucideProvider.

Limitations

  • CSS rules override individual props. Global CSS styles beat per-icon props such as size and color. LucideProvider sets defaults that individual props can still change.
  • Per-icon imports require modern loaders. Older Node versions need package-root imports instead of per-icon require().

Quickstart

From getting-started
$ npm install lucide-react
import { Camera } from 'lucide-react';
// Usage
const App = () => {
  return <Camera />;
};
export default App;

Lucide React examples

From open-source projects on GitHub

React Icons gathers many open source icon families, including Font Awesome, Material Design, Ionicons, and GitHub Octicons, into one package. Each family has its own subfolder, so FaBeer comes from react-icons/fa and Material Design icons come from react-icons/md. The imports are ES modules, so a build includes only the icons a project uses. IconContext.Provider sets a shared color, size, or class name for every icon beneath it, and each family keeps its own license.

Downloads / mo
45.2M
Stars
12.7K
Last release
5.7.0
License
MIT

Strengths

  • Combines several icon collections. Import different icon families from their own package subfolders.
  • Shares defaults through React context. Configure shared icon color and styling with IconContext.

Limitations

  • Icon licenses vary by collection. Check the selected icon collection license alongside the package license.
  • Vertical alignment needs explicit styling. Set vertical-align with inline styles or an IconContext class.

Quickstart

From README.md
$ npm install react-icons
import { FaBeer } from "react-icons/fa";

function Question() {
  return (
    <h3>
      Lets go for a <FaBeer />?
    </h3>
  );
}

React Icons examples

From open-source projects on GitHub

Material UI Icons

Material UI Icons, the @mui/icons-material package, exports Google's Material icons as React components. Each icon comes in five themes, Filled, Outlined, Rounded, Two-tone, and Sharp, chosen by a suffix on the component name, such as DeleteOutlined. The components render through Material UI's SvgIcon, so @mui/material has to be installed beside them. Importing each icon from its own path, such as @mui/icons-material/Delete, keeps the bundle smallest.

Downloads / mo
39.3M
Stars
99.4K
Last release
9.5.0
License
MIT

Strengths

  • Five themes per icon. Filled, Outlined, Rounded, Two-tone, and Sharp versions share one name with a different suffix.

Limitations

  • Requires Material UI. The icons render through SvgIcon, so @mui/material is a peer dependency even in apps without other Material UI components.

Quickstart

From icons
$ npm install @mui/icons-material @mui/material @emotion/styled @emotion/react
import DeleteIcon from '@mui/icons-material/Delete';
export default function App() {
  return <DeleteIcon />;
}

Material UI Icons examples

From open-source projects on GitHub

Radix Icons is a set of icons drawn on a fifteen-pixel grid by the WorkOS team, published for React as @radix-ui/react-icons. Each icon is a named component, such as FaceIcon, ImageIcon, or SunIcon. The same icons are also available as SVG downloads and as a Figma file.

Downloads / mo
29.9M
Stars
2.7K
Last release
1.3.2
License
MIT

Strengths

  • Figma file included. Designers work from the same icons in Figma that the React package ships.

Quickstart

From icons
$ npm install @radix-ui/react-icons
import { FaceIcon, ImageIcon, SunIcon } from "@radix-ui/react-icons";

function MyComponent() {
  return (
    <div>
      <FaceIcon />
      <SunIcon />
      <ImageIcon />
    </div>
  );
}

Radix Icons examples

From open-source projects on GitHub

Phosphor Icons

Phosphor Icons is an icon family published for React as @phosphor-icons/react. Every icon takes a weight prop with six values, thin, light, regular, bold, fill, and duotone, along with color and size. IconContext sets those defaults for a whole subtree. The package exports more than nine thousand modules, so the README recommends importing individual icon paths, or optimizePackageImports in Next.js, to keep development builds fast.

Downloads / mo
29.4M
Stars
1.8K
Last release
2.1.10
License
MIT

Strengths

  • Switches visual weights through props. Choose thin, light, regular, bold, fill, or duotone per icon.
  • Applies shared style defaults. Set icon color, size, and weight through IconContext.

Limitations

  • Root imports affect development compilation. Import individual icon paths when bundlers eagerly compile the entire collection.
  • Server icons bypass context defaults. Server-component icons cannot inherit styles from an ancestor IconContext.

Quickstart

From README.md
$ npm install @phosphor-icons/react
import { HorseIcon, HeartIcon, CubeIcon } from "@phosphor-icons/react";

const App = () => {
  return (
    <main>
      <HorseIcon />
      <HeartIcon color="#AE2983" weight="fill" size={32} />
      <CubeIcon color="teal" weight="duotone" />
    </main>
  );
};

Phosphor Icons examples

From open-source projects on GitHub

Heroicons is an SVG icon set from the makers of Tailwind CSS, published for React as @heroicons/react. Each style and size has its own import path, with outline and solid icons at the standard size and smaller solid sets for compact layouts. Icons take their color from the CSS color property, so Tailwind text color utilities style them. The same icons also ship as plain SVG to copy into HTML.

Downloads / mo
23.7M
Stars
23.9K
Last release
2.2.0
License
MIT

Strengths

  • Offers outline and solid variants. Choose outline or solid icons from separate size-specific import paths.
  • Uses familiar CSS color styling. Set icon color through CSS or Tailwind color utilities.

Limitations

  • Closed to icon requests. Contributions cover bug fixes to existing icons. Requests for new icons fall outside the project's scope.

Quickstart

From README.md
$ npm install @heroicons/react
import { BeakerIcon } from '@heroicons/react/24/solid'

function MyComponent() {
  return (
    <div>
      <BeakerIcon className="size-6 text-blue-500" />
      <p>...</p>
    </div>
  )
}

Heroicons examples

From open-source projects on GitHub

Ant Design Icons

Ant Design Icons, the @ant-design/icons package, provides the icons of the Ant Design component library as React components. Most icons come in three styles, each its own component: StarOutlined, StarFilled, and StarTwoTone. The twoToneColor prop sets the colors of two-tone icons, and the same icon set is published for Vue, Angular, and React Native.

Downloads / mo
23.4M
Stars
1.1K
Last release
6.3.4
License
MIT

Strengths

  • Two-tone styling. Two-tone icons take a primary and a secondary color through twoToneColor.

Quickstart

From icon
$ npm install @ant-design/icons@6.x --save
import { StarOutlined } from '@ant-design/icons';
export default function App() {
  return <StarOutlined />;
}

Ant Design Icons examples

From open-source projects on GitHub

Tabler Icons is a set of free, MIT-licensed SVG icons drawn on one grid with one stroke width, and @tabler/icons-react publishes them as React components. Icons come in outline and filled versions and are imported by name with an Icon prefix, such as IconArrowLeft. Props set size, color, and stroke, and the package ships as tree-shakable ES modules.

Downloads / mo
20.2M
Stars
22.7K
Last release
3.52.0
License
MIT

Strengths

  • One set across frameworks. Official packages publish the same icons for React, Vue, Svelte, Angular, and other frameworks.

Quickstart

From README.md
$ npm install @tabler/icons-react
import { IconArrowLeft } from '@tabler/icons-react';

const App = () => {
  return <IconArrowLeft />;
};

export default App;

Tabler Icons examples

From open-source projects on GitHub

FAQ

Inside a Material UI or Ant Design app, use that library's own icons, Material UI Icons or Ant Design Icons. Otherwise, Lucide React gives one consistent outline set with stroke width as a prop, and React Icons gathers many families, such as Font Awesome, behind one install.

Install react-icons, then import each icon from its family's subfolder, such as import { FaBeer } from 'react-icons/fa', and render it as a component. IconContext.Provider sets a shared color, size, or class for every icon inside it.

Install @mui/icons-material next to @mui/material, which it needs as a peer dependency, then import one icon per path, such as import DeleteIcon from '@mui/icons-material/Delete'. Other styles add a suffix to the name: DeleteOutlined, DeleteRounded, DeleteSharp, and DeleteTwoTone.

Install lucide-react and import icons by name, such as import { Camera } from 'lucide-react'. Each icon accepts size, color, and strokeWidth props, along with any standard SVG attribute.

Radix Icons is a set of icons drawn on a fifteen-pixel grid by the WorkOS team. The React package, @radix-ui/react-icons, exports each icon as a component, such as FaceIcon.

Heroicons comes from the makers of Tailwind CSS in outline and solid styles at fixed sizes, each imported from its own path. Lucide has a single outline style, and its stroke width and size change through props.

For coding agents

Found your icons library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official