Codicons for React.
538 free icons by Microsoft Corporation, CC BY 4.0. Search by name or meaning, then open an icon to copy it as SVG or React, or install it.
Codicons
Or describe it. With Pro, your AI agent picks the icon you describe from Codicons and installs it as a React component.
Get ProLibraries
Other popular libraries
The sets shadcn/ui projects reach for first, each with its license.
Pricing
Codicons MCP, with Pro
Your agent searches all 538 Codicons and installs the one you describe. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
About Codicons: how many there are, how to use them, and their license.
Codicons has 538 icons by Microsoft Corporation, drawn on a 16 × 16 grid.
Microsoft Corporation made Codicons, released under CC BY 4.0.
Codicons is in the Programming group on the libraries page. Sets like it are VSCode Icons, Material Icon Theme and Devicon. Open each to compare the grid, the style and the license before you pick one.
Search by name or by what an icon shows: each one is tagged with words like "money" or "navigation", so you find it without knowing its exact name. Search runs inside Codicons, over its 538 icons.
Every Codicons icon's page has an Other libraries section with the same icon drawn by other sets, and its tags link to every library that draws the same subject. Use them to compare Codicons with the rest.
Open an icon, then copy it as a typed React component or as SVG for any framework or design tool. Signed in, you can also install it with one shadcn CLI command.
Open a Codicons icon, then Get icon, and copy it as React, Vue, Svelte, Angular, Solid, Preact, SVG, or as a data URL. Each is one self-contained component or file with the SVG inside.
Open the icon's page, choose Get icon, then Install with shadcn CLI. The CLI adds one file, components/icons/<icon>.tsx, with a size prop and every SVG prop; its first line names Codicons, Microsoft Corporation and CC BY 4.0. It needs a free account.
Copy it. Codicons has no package here, so each icon you install is one small file in your project with no dependency, and only the icons you import reach your bundle.
Yes. Open an icon and pick a color: the preview, the code and the PNG all use it.
Codicons is drawn on a 16 × 16 grid, so at the same size it looks as large as its grid allows. Set width and height on the component, or a class like size-6; Customize also sets the size it exports at, plus padding and rotation.
Tailwind text classes: text-primary or text-muted-foreground colors an icon, size-5 sizes it. On an installed icon, className reaches the svg like any prop.
Next to a visible label, a Codicons icon is decoration: add aria-hidden="true" so screen readers skip it. Alone, as in an icon-only button, name the button with aria-label instead. The installed component passes every SVG prop through, so both work on it.
Codicons icons are drawn in currentColor, so they take the text color and follow your theme in light and dark mode. Icons that carry meaning need 3:1 contrast against their background (WCAG 1.4.11): use the same text color tokens as the label beside them.
Yes, with credit: CC BY 4.0 asks you to credit the author (Microsoft Corporation) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Microsoft Corporation, CC BY 4.0" on an about or credits page.
Yes. Every Codicons icon is free to browse, copy and download here. Pro adds the MCP server, which installs icons for your AI agent.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client search every library and install the Codicons icon you ask for, with search_icons, get_icon and list_icon_libraries.
Codicons has no npm package here, so get_icon adds the icon as a component: one shadcn CLI command for React, or the code and the file to save it at for Vue, Svelte and other frameworks.
4.9 out of 5 from 150+ developers
Install any Codicons icon from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro