{
 "kind": "tool",
 "slug": "react-icons",
 "path": "tools/react-icons/",
 "name": "React Icons",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "UI components and icons",
   "tools/ui-components/"
  ]
 ],
 "lead": "Popular icon packs imported as React components with ES6.",
 "chips": [
  {
   "label": "UI components and icons",
   "path": "tools/ui-components/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install react-icons"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/react-icons/react-icons"
  },
  {
   "label": "Website",
   "href": "https://github.com/react-icons/react-icons#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/react-icons/react-icons"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Oct 23, 2026",
   "note": "Latest GitHub release Jun 30, 2026. ",
   "src": "https://github.com/react-icons/react-icons"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "174 projects",
   "status": "info",
   "sub": "#11 of 230 in its category",
   "note": "Dependency in 174 public GitHub projects set up for AI coding agents that we scanned (2.8%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What React Icons does",
   "parts": [
    {
     "t": "prose",
     "text": "React Icons bundles more than thirty open-source icon sets, from Font Awesome and Material Design to Phosphor and Tabler, into one npm package of React SVG components, and you import each icon by name from that set's own subfolder."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "React Icons popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "75",
       "of": "/ 100",
       "l": "Gid Score, #196 overall"
      },
      {
       "n": "12M",
       "l": "downloads a week, npm"
      },
      {
       "n": "12.7K",
       "l": "GitHub stars"
      },
      {
       "n": "174",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How React Icons is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "React Icons is a dependency in 174 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (3.6% of the 4,867 JavaScript/TypeScript ones), #11 of 230 in ui components and icons.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 1,079; those are left out of every share on this page.",
      "The most used alternative in our scan is Lucide React (1,255 projects).",
      "Projects that use it most often also use React (99.4%), Next.js (69.0%), clsx (70.1%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "93 projects, 3.1%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "93 projects, 3.8%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "85 projects, 2.6%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "16 projects, 3.4%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "14 projects, 5.0%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      },
      {
       "l": "12 projects, 2.6%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "9 projects, 2.6%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "6 projects, 5.4%",
       "v": "Roo Code",
       "path": "agents/roo-code/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 99.4% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 69.0% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 70.1% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 67.8% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 64.4% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 52.3% of its projects",
       "v": "Radix UI",
       "path": "tools/radix-ui/"
      },
      {
       "l": "In 82.8% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 57.5% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "React Icons in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Switch icon sets by changing the import path",
       "v": "Every set sits in its own subfolder under <code>react-icons</code>. To use Material Design instead of Font Awesome, you import from <code>react-icons/md</code>. You do not add a new dependency."
      },
      {
       "l": "SVG components instead of an icon font",
       "v": "The README argues for SVG over fonts. You send users only the icons you use, not one large font file, and your imports show which icons the project uses."
      },
      {
       "l": "Shared defaults through IconContext",
       "v": "<code>IconContext.Provider</code> sets <code>color</code>, <code>size</code>, <code>className</code>, <code>style</code>, <code>attr</code> and <code>title</code> for the icons it wraps. <code>size</code> defaults to <code>1em</code>. The README notes this \"Requires React 16.3 or higher.\""
      },
      {
       "l": "Types ship with the package",
       "v": "TypeScript support is built in. The README says dependencies on <code>@types/react-icons</code> can be deleted."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "MIT package, mixed icon licenses",
       "v": "The package code is MIT, but the icons come from other projects. The README's table includes sets under CC BY 4.0, CC BY-SA 3.0, CC BY 3.0, MPL-2.0, SIL OFL 1.1 and Apache 2.0, among others. Check the license of each set you ship."
      },
      {
       "l": "The all-files package lags behind",
       "v": "The README warns that the <code>@react-icons/all-files</code> option has not had a new release for some time. It also names a trade-off for this method: \"it takes a long time to install the package.\""
      },
      {
       "l": "No vertical centering since v3",
       "v": "Since version 3, icons no longer get <code>vertical-align: middle</code>. To line them up with text, set it yourself through <code>IconContext</code>, either as an inline style or as a <code>className</code>."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Render a Font Awesome icon"
    },
    {
     "t": "tabs",
     "label": "Example",
     "items": [
      {
       "tab": "Jsx",
       "code": "import { FaBeer } from \"react-icons/fa\";\n\nfunction Question() {\n  return (\n    <h3>\n      Lets go for a <FaBeer />?\n    </h3>\n  );\n}"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about React Icons",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/kamijin-fanta",
        "1 GitHub sponsors"
       ]
      },
      {
       "title": "Head to head",
       "items": [
        {
         "text": "Lucide React vs React Icons",
         "note": "used together in 118 projects",
         "path": "tools/compare/lucide-react-vs-react-icons/"
        }
       ]
      },
      {
       "title": "Packages around it",
       "items": [
        "react: UI library",
        "framer-motion: animation",
        "tailwindcss: utility CSS",
        "next: React framework",
        "eslint: linter",
        "@react-three: 3D in React"
       ]
      },
      {
       "title": "More in UI components and icons",
       "path": "tools/ui-components/",
       "items": [
        {
         "text": "Class Variance Authority",
         "path": "tools/class-variance-authority/"
        },
        {
         "text": "Radix UI",
         "path": "tools/radix-ui/"
        },
        {
         "text": "Sonner",
         "path": "tools/sonner/"
        },
        {
         "text": "cmdk",
         "path": "tools/cmdk/"
        },
        {
         "text": "React Day Picker",
         "path": "tools/react-day-picker/"
        },
        {
         "text": "Vaul",
         "path": "tools/vaul/"
        },
        {
         "text": "react-resizable-panels",
         "path": "tools/react-resizable-panels/"
        },
        {
         "text": "shadcn/ui",
         "path": "tools/shadcn/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "React Icons",
       "me": true,
       "facts": [
        "MIT",
        "Gid 75",
        "12M/wk"
       ]
      },
      {
       "name": "Lucide React",
       "why": "Comprehensive icon library with consistent design for React applications.",
       "path": "tools/lucide-react/",
       "facts": [
        "ISC",
        "Gid 86",
        "144M/wk"
       ]
      }
     ],
     "more": "Compare React Icons with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install react-icons"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## React Icons\n- Install `react-icons`. Import icons by name from the set's subfolder, for example `import { FaBeer } from \"react-icons/fa\"`.\n- Do not use the old v2 path style `react-icons/lib/fa/beer`. It was replaced in v3.\n- Put shared `color`, `size`, `className` or `style` on an `IconContext.Provider` instead of repeating props on every icon. This requires React 16.3 or higher.\n- Pass `title` when an icon needs an accessible description.\n- When icons sit inline with text, add `verticalAlign: 'middle'` through `IconContext`. Since v3 it is not applied automatically.\n- Do not add `@types/react-icons`. Types are built in.\n- Check the license of each icon set you use. Some sets are CC BY or CC BY-SA, not MIT.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm react-icons"
  ],
  [
   "Category",
   "UI components and icons"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Latest version",
   "v5.7.0, June 30, 2026"
  ],
  [
   "On GitHub since",
   "October 2015"
  ],
  [
   "Gid Score",
   "75.3"
  ],
  [
   "Rank in category",
   "#11 of 230"
  ],
  [
   "GitHub",
   "react-icons/react-icons"
  ],
  [
   "Last change",
   "Oct 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/react-icons.png"
}