Heroicons
by Tailwind Labs
MIT-licensed SVG icons from Tailwind Labs (324 per style in heroicons 2.2.0) with React and Vue packages.
Icons Code libraryoutlinefilled

1. Price: heroicons.com
Fully free.
heroicons.comNo quote yet: price is read from the official pages.
2. Commercial use: LICENSE on GitHub
“Permission is hereby granted, free of charge, to any person obtaining a copy of this software”
MIT allows use in paid products without a fee or visible credit.
LICENSE on GitHub3. Credit the author: LICENSE on GitHub
No credit on screen. Keep the license notice inside the code you ship.
LICENSE on GitHub4. Agent access: github.com/tailwindlabs/heroicons
An agent can install it by itself with npm install @heroicons/react. No key or account is needed.
github.com/tailwindlabs/heroiconsLicense checked Nov 9, 2026 against 2 official pages. Tap a verdict to see its source. How we checked Report an error
Heroicons: free interface icons from the Tailwind CSS team
Heroicons is a free set of a few hundred interface icons, like a bell, a cart or a gear, from the team behind Tailwind CSS. Each icon comes in four looks, from a large outline to a tiny filled version for buttons and labels. You copy an icon into a page or add it as a ready piece in a React or Vue app, and you may use it in paid products.
Where you can use it
Icons pasted into a page
Copy an icon from heroicons.com and paste it straight into your page, then set its size and color with your styles. No package is needed.
Menus and screens in a React app
Add each icon as its own piece, such as a beaker or a bell next to a menu item. You pick the look by where you import it from.
Icons in a Vue app
The same icons come as ready pieces for Vue, with the same four looks and the same names.
Small icons in buttons and labels
Use the 20 px set inside buttons and the 16 px set inside small status labels, such as Paid or Shipped. They are drawn for that size, so they stay crisp.
Mockups in Figma
Designers can lay out screens with the same icons in Figma before anyone writes code.
Order lists in an admin panel Idea
Mark each row with a small colored label and icon, such as Paid, Shipped or Payment failed, so the list reads at a glance.
As reported by Tailwind Labs: 316 icons, as the site header puts it.
Heroicons popularity
Downloads from api.npmjs.org, stars from GitHub, checked Nov 26, 2026. How the Gid Score is calculated
How to start
Tell your AI assistant
“Install @heroicons/react 2.2.0 and use outline icons from 24/outline in the menu, 20/solid icons in buttons and 16/solid icons in status labels; give icon-only buttons an aria-label.”
Or install it yourself. Add the React package to your project (for Vue the package is @heroicons/vue).
npm install @heroicons/react
Show code
Import each icon by name from the folder of the look you want (24/outline, 24/solid, 20/solid or 16/solid) and size it with a class.
import { BeakerIcon } from '@heroicons/react/24/solid'
function MyComponent() {
return (
<div>
<BeakerIcon className="size-6 text-blue-500" />
<p>...</p>
</div>
)
}
Mistakes to avoid
import { BellIcon } from '@heroicons/react'import { BellIcon } from '@heroicons/react/24/outline' (or 24/solid, 20/solid, 16/solid)The package root only throws an error that asks you to import from a size folder.
import { BellIcon } from '@heroicons/react/outline' (version 1 paths)import { BellIcon } from '@heroicons/react/24/outline'Version 2 removed the old outline and solid paths; importing from them throws an error.
import { Bell } from '@heroicons/react/24/outline'import { BellIcon } from '@heroicons/react/24/outline'Every component name ends with the word Icon.
The files carry no width or height, so the icon stretches to fill its box; our demo had to add 24, 20 or 16 px to each one.
<button><TrashIcon className="size-5" /></button> with no label<button aria-label="Delete"><TrashIcon className="size-5" /></button>, or pass title="Delete" to the iconEvery icon is hidden from screen readers by default; the React components accept a title prop.
License
MIT license. Free in personal and paid products, with no visible credit needed. Keep the short copyright and license notice with copies of the files or code you pass on.
“Permission is hereby granted, free of charge, to any person obtaining a copy of this software” LICENSE on GitHub
“Permission is hereby granted, free of charge, to any person obtaining a copy of this software” LICENSE on GitHub
“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software” raw.githubusercontent.com
AllowedWith conditionsNot allowedNot stated or not checked yet
Is Heroicons free for commercial use? The full answer Not legal advice. Check the license page before you ship.
For your agent
License rules tell your agent what it may do with Heroicons. Paste them into your prompt or AGENTS.md.
- Heroicons (Icons). MIT-licensed SVG icons from Tailwind Labs (324 per style in heroicons 2.2.0) with React and Vue packages. Price: free; commercial use OK; no credit needed. Style: outline, filled.
Connect: npm @heroicons/react.
Get files: npm install @heroicons/react or @heroicons/vue, or copy the SVG source from heroicons.com (svg).
Not allowed: Keep the MIT copyright and permission notice in all copies or substantial portions
Rule: Keep the MIT copyright and permission notice in copies.
License: https://github.com/tailwindlabs/heroicons/blob/master/LICENSE (checked 2026-11-09; details: https://agentgid.com/assets/heroicons/)
Agent installs a package or loads it from a CDN.
npm install @heroicons/reactFormats: svg
Icons: Heroicons by Tailwind Labs (MIT)Use it in your stack
ReactStyles: 24/solid, 24/outline, 20/solid, 16/solid import paths.
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>
)
}
From the official docs: raw.githubusercontent.com/tailwindlabs/heroicons/master/README.md
HTML/CSSInline SVG; the size-6 / text-* classes are Tailwind utilities.
<svg
class="size-6 text-gray-500"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
stroke-width="2"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
From the official docs: raw.githubusercontent.com/tailwindlabs/heroicons/master/README.md
Alternatives
Heroicons This page
Pick Tabler Icons when you need thousands of icons, with outline and filled versions, under MIT as well.
Pick Lucide for a larger line icon set with official packages for Svelte, Angular and other toolkits, not only React and Vue.
Pick Phosphor when you want each icon in six weights instead of four fixed looks.
Icon toolkit with a free set (CC BY 4.0), Pro plans, a GraphQL API and official agent skills.
3,470 SVG brand icons (simple-icons 16.37.0) with an npm package and a CDN; most are CC0, some carry other licenses listed per icon.
Questions
Can I use Heroicons in a paid app or a client site?
Yes. The MIT license lets you use, copy, change and sell the software; keep the copyright and license notice with copies.
Which sizes and looks are there?
Four. Outline at 24 by 24, solid at 24 by 24, a solid 20 by 20 set (Mini) and a solid 16 by 16 set (Micro).
How do I change the color?
Set the text color on the icon or its parent; both outline and solid icons follow it.
Is there a Svelte or Solid version?
Not from the makers. They ask people to publish their own packages for other toolkits.
Can I ask for a new icon?
No. The project only takes fixes for bugs, not new icons.