{
 "slug": "heroicons",
 "name": "Heroicons",
 "author": "Tailwind Labs",
 "density": "full",
 "status": "active",
 "status_note": null,
 "alternatives_page": null,
 "one_liner": "MIT-licensed SVG icons from Tailwind Labs (324 per style in heroicons 2.2.0) with React and Vue packages.",
 "category": {
  "slug": "icons",
  "name": "Icons"
 },
 "tags": [
  "Code library"
 ],
 "styles": [
  "outline",
  "filled"
 ],
 "logo_url": "https://agentgid.com/media/avatars/tailwindlabs.png",
 "logo_letter": "H",
 "links": {
  "repo": "https://github.com/tailwindlabs/heroicons",
  "website": "https://heroicons.com",
  "api_docs": null,
  "open_model": null
 },
 "preview": {
  "kind": "image_grid",
  "src": "https://agentgid.com/assets/heroicons/demo.jpg",
  "alt": "An orders screen with a top menu, buttons with 20 px icons and status labels with 16 px icons, next to eight icons shown as outline, solid, mini and micro.",
  "caption": "Made by AgentGid with heroicons 2.2.0 (npm). Heroicons is MIT licensed, which allows showing and passing on the icons; the order numbers and labels are made up."
 },
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free",
   "status": "yes",
   "sub": "No paid plan",
   "quote": null,
   "note": "Fully free.",
   "source": {
    "label": "heroicons.com",
    "url": "https://heroicons.com"
   },
   "n": 1
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Yes",
   "status": "yes",
   "sub": "MIT",
   "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software",
   "note": "MIT allows use in paid products without a fee or visible credit.",
   "source": {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/tailwindlabs/heroicons/blob/master/LICENSE"
   },
   "n": 2
  },
  {
   "key": "credit",
   "label": "Credit the author",
   "value": "Not needed",
   "status": "yes",
   "sub": "Keep the notice in code copies",
   "quote": null,
   "note": "No credit on screen. Keep the license notice inside the code you ship.",
   "source": {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/tailwindlabs/heroicons/blob/master/LICENSE"
   },
   "n": 3
  },
  {
   "key": "agent_access",
   "label": "Agent access",
   "value": "npm package",
   "status": "info",
   "sub": "Installs without a key",
   "quote": null,
   "note": "An agent can install it by itself with npm install @heroicons/react. No key or account is needed.",
   "source": {
    "label": "github.com/tailwindlabs/heroicons",
    "url": "https://github.com/tailwindlabs/heroicons"
   },
   "n": 4
  }
 ],
 "license": {
  "name": "MIT",
  "url": "https://github.com/tailwindlabs/heroicons/blob/master/LICENSE",
  "summary": "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.",
  "pages_read": 2,
  "rules": [
   "Keep the MIT copyright and permission notice in copies."
  ],
  "rows": [
   {
    "label": "Commercial use",
    "value": "Yes",
    "status": "yes",
    "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software",
    "source": {
     "label": "LICENSE on GitHub",
     "url": "https://github.com/tailwindlabs/heroicons/blob/master/LICENSE"
    },
    "note": null
   },
   {
    "label": "Credit",
    "value": "Not needed",
    "status": "yes",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Inside your app or game",
    "value": "Can ship inside your app",
    "status": "yes",
    "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software",
    "source": {
     "label": "LICENSE on GitHub",
     "url": "https://github.com/tailwindlabs/heroicons/blob/master/LICENSE"
    },
    "note": null
   },
   {
    "label": "Pass the files on to your users",
    "value": "Allowed",
    "status": "yes",
    "quote": "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/tailwindlabs/heroicons/HEAD/LICENSE"
    },
    "note": null
   },
   {
    "label": "AI training",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Bots and bulk downloads",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   }
  ],
  "checked_at": "2026-11-09",
  "commercial_use_page": "https://agentgid.com/assets/heroicons/commercial-use/"
 },
 "overview": {
  "heading": "Heroicons: free interface icons from the Tailwind CSS team",
  "body": "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."
 },
 "uses": [
  {
   "title": "Icons pasted into a page",
   "text": "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.",
   "idea": false,
   "image": null
  },
  {
   "title": "Menus and screens in a React app",
   "text": "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.",
   "idea": false,
   "image": null
  },
  {
   "title": "Icons in a Vue app",
   "text": "The same icons come as ready pieces for Vue, with the same four looks and the same names.",
   "idea": false,
   "image": null
  },
  {
   "title": "Small icons in buttons and labels",
   "text": "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.",
   "idea": false,
   "image": "https://agentgid.com/assets/heroicons/demo.jpg"
  },
  {
   "title": "Mockups in Figma",
   "text": "Designers can lay out screens with the same icons in Figma before anyone writes code.",
   "idea": false,
   "image": null
  },
  {
   "title": "Order lists in an admin panel",
   "text": "Mark each row with a small colored label and icon, such as Paid, Shipped or Payment failed, so the list reads at a glance.",
   "idea": true,
   "image": null
  }
 ],
 "start": {
  "prompt": "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.",
  "install": "npm install @heroicons/react",
  "install_note": "Add the React package to your project (for Vue the package is @heroicons/vue).",
  "code": [
   {
    "tab": "React",
    "intro": "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.",
    "source": "import { BeakerIcon } from '@heroicons/react/24/solid'\n\nfunction MyComponent() {\n  return (\n    <div>\n      <BeakerIcon className=\"size-6 text-blue-500\" />\n      <p>...</p>\n    </div>\n  )\n}"
   }
  ]
 },
 "mistakes": [
  {
   "dont": "import { BellIcon } from '@heroicons/react'",
   "fix": "import { BellIcon } from '@heroicons/react/24/outline' (or 24/solid, 20/solid, 16/solid)",
   "why": "The package root only throws an error that asks you to import from a size folder.",
   "dont_code": true,
   "fix_code": true
  },
  {
   "dont": "import { BellIcon } from '@heroicons/react/outline' (version 1 paths)",
   "fix": "import { BellIcon } from '@heroicons/react/24/outline'",
   "why": "Version 2 removed the old outline and solid paths; importing from them throws an error.",
   "dont_code": true,
   "fix_code": true
  },
  {
   "dont": "import { Bell } from '@heroicons/react/24/outline'",
   "fix": "import { BellIcon } from '@heroicons/react/24/outline'",
   "why": "Every component name ends with the word Icon.",
   "dont_code": true,
   "fix_code": true
  },
  {
   "dont": "Pasting a file from the heroicons package into a page with no size set",
   "fix": "Give the svg a width and height (or a size class such as size-6)",
   "why": "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.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "<button><TrashIcon className=\"size-5\" /></button> with no label",
   "fix": "<button aria-label=\"Delete\"><TrashIcon className=\"size-5\" /></button>, or pass title=\"Delete\" to the icon",
   "why": "Every icon is hidden from screen readers by default; the React components accept a title prop.",
   "dont_code": true,
   "fix_code": true
  }
 ],
 "agent": {
  "self_serve": true,
  "self_serve_text": "Agent installs a package or loads it from a CDN",
  "install": "npm install @heroicons/react",
  "repo": "https://github.com/tailwindlabs/heroicons",
  "api_docs": null,
  "api_account": "Not needed. Everything runs on your side.",
  "get_files": "npm install @heroicons/react or @heroicons/vue, or copy the SVG source from heroicons.com.",
  "formats": [
   "svg"
  ],
  "limits": null,
  "mcp": null,
  "mcp_url": null,
  "credit_line": "Icons: Heroicons by Tailwind Labs (MIT)",
  "rules_text": "- 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.\n  Connect: npm @heroicons/react.\n  Get files: npm install @heroicons/react or @heroicons/vue, or copy the SVG source from heroicons.com (svg).\n  Not allowed: Keep the MIT copyright and permission notice in all copies or substantial portions\n  Rule: Keep the MIT copyright and permission notice in copies.\n  License: https://github.com/tailwindlabs/heroicons/blob/master/LICENSE (checked 2026-11-09; details: https://agentgid.com/assets/heroicons/)",
  "agent_md": "https://agentgid.com/assets/heroicons/agent.md",
  "card_json": "https://agentgid.com/assets/heroicons/card.json"
 },
 "popularity": {
  "gid_score": 66,
  "stars": 23922,
  "downloads_7d": 6505304,
  "downloads_7d_label": "6.5M",
  "downloads_change_4w_pct": 43.3,
  "eco": "npm",
  "package": "@heroicons/react",
  "repo": "tailwindlabs/heroicons",
  "agent_projects": 66,
  "agent_projects_total": 4753,
  "downloads_unconfirmed": false,
  "series": {
   "downloads_weekly": [
    [
     "2025-11-24",
     1788875
    ],
    [
     "2025-12-01",
     2153667
    ],
    [
     "2025-12-08",
     2102161
    ],
    [
     "2025-12-15",
     1987898
    ],
    [
     "2025-12-22",
     1264584
    ],
    [
     "2025-12-29",
     1224474
    ],
    [
     "2026-01-05",
     1925247
    ],
    [
     "2026-01-12",
     2055952
    ],
    [
     "2026-01-19",
     2069296
    ],
    [
     "2026-01-26",
     2239011
    ],
    [
     "2026-02-02",
     2349143
    ],
    [
     "2026-02-09",
     2271193
    ],
    [
     "2026-02-16",
     2281760
    ],
    [
     "2026-02-23",
     2535011
    ],
    [
     "2026-03-02",
     2578383
    ],
    [
     "2026-03-09",
     2804223
    ],
    [
     "2026-03-16",
     2645953
    ],
    [
     "2026-03-23",
     2675608
    ],
    [
     "2026-03-30",
     2607836
    ],
    [
     "2026-04-06",
     2760340
    ],
    [
     "2026-04-13",
     2937727
    ],
    [
     "2026-04-20",
     2867920
    ],
    [
     "2026-04-27",
     2964383
    ],
    [
     "2026-05-04",
     3133180
    ],
    [
     "2026-05-11",
     3461766
    ],
    [
     "2026-05-18",
     5365998
    ],
    [
     "2026-05-25",
     4375305
    ],
    [
     "2026-06-01",
     3317232
    ],
    [
     "2026-06-08",
     3279212
    ],
    [
     "2026-06-15",
     3397284
    ],
    [
     "2026-06-22",
     3451199
    ],
    [
     "2026-06-29",
     3248373
    ],
    [
     "2026-07-06",
     3602346
    ],
    [
     "2026-07-13",
     3957167
    ],
    [
     "2026-07-20",
     3825360
    ],
    [
     "2026-07-27",
     3820532
    ],
    [
     "2026-08-03",
     3906311
    ],
    [
     "2026-08-10",
     3999685
    ],
    [
     "2026-08-17",
     3923159
    ],
    [
     "2026-08-24",
     4101990
    ],
    [
     "2026-08-31",
     4384741
    ],
    [
     "2026-09-07",
     4419894
    ],
    [
     "2026-09-14",
     4543014
    ],
    [
     "2026-09-21",
     4581157
    ],
    [
     "2026-09-28",
     5022557
    ],
    [
     "2026-10-05",
     5120422
    ],
    [
     "2026-10-12",
     3510608
    ],
    [
     "2026-10-19",
     3867592
    ],
    [
     "2026-10-26",
     5888726
    ],
    [
     "2026-11-02",
     6183416
    ],
    [
     "2026-11-09",
     6297534
    ],
    [
     "2026-11-16",
     6745160
    ]
   ],
   "stars": [
    [
     "2026-10-13",
     23865
    ],
    [
     "2026-10-20",
     23873
    ],
    [
     "2026-10-21",
     23872
    ],
    [
     "2026-10-22",
     23875
    ],
    [
     "2026-11-07",
     23903
    ],
    [
     "2026-11-08",
     23903
    ],
    [
     "2026-11-09",
     23904
    ],
    [
     "2026-11-10",
     23906
    ],
    [
     "2026-11-11",
     23907
    ],
    [
     "2026-11-12",
     23908
    ],
    [
     "2026-11-13",
     23907
    ],
    [
     "2026-11-14",
     23907
    ],
    [
     "2026-11-15",
     23911
    ],
    [
     "2026-11-16",
     23912
    ],
    [
     "2026-11-17",
     23914
    ],
    [
     "2026-11-18",
     23915
    ],
    [
     "2026-11-19",
     23915
    ],
    [
     "2026-11-20",
     23913
    ],
    [
     "2026-11-21",
     23914
    ],
    [
     "2026-11-22",
     23915
    ],
    [
     "2026-11-23",
     23917
    ],
    [
     "2026-11-24",
     23917
    ],
    [
     "2026-11-25",
     23921
    ],
    [
     "2026-11-26",
     23922
    ]
   ]
  },
  "stars_flat_since": null,
  "updated_at": "2026-11-26"
 },
 "alternatives": [
  {
   "slug": "heroicons",
   "name": "Heroicons",
   "why": null,
   "current": true,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "tabler-icons",
   "name": "Tabler Icons",
   "why": "Pick Tabler Icons when you need thousands of icons, with outline and filled versions, under MIT as well.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "lucide",
   "name": "Lucide",
   "why": "Pick Lucide for a larger line icon set with official packages for Svelte, Angular and other toolkits, not only React and Vue.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "phosphor",
   "name": "Phosphor Icons",
   "why": "Pick Phosphor when you want each icon in six weights instead of four fixed looks.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "font-awesome",
   "name": "Font Awesome",
   "why": "Icon toolkit with a free set (CC BY 4.0), Pro plans, a GraphQL API and official agent skills.",
   "current": false,
   "price": "Free tier",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "API, npm"
  },
  {
   "slug": "simple-icons",
   "name": "Simple Icons",
   "why": "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.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "npm"
  }
 ],
 "faq": [
  {
   "q": "Can I use Heroicons in a paid app or a client site?",
   "a": "Yes. The MIT license lets you use, copy, change and sell the software; keep the copyright and license notice with copies."
  },
  {
   "q": "Which sizes and looks are there?",
   "a": "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)."
  },
  {
   "q": "How do I change the color?",
   "a": "Set the text color on the icon or its parent; both outline and solid icons follow it."
  },
  {
   "q": "Is there a Svelte or Solid version?",
   "a": "Not from the makers. They ask people to publish their own packages for other toolkits."
  },
  {
   "q": "Can I ask for a new icon?",
   "a": "No. The project only takes fixes for bugs, not new icons."
  }
 ],
 "at_a_glance": {
  "latest_version": "2.2.0",
  "last_release": "2024-11-18",
  "last_commit": "2026-05-12",
  "runtime": "React 16 or newer, including 19 (peer: \">= 16 || ^19.0.0-rc\"); @heroicons/vue 2.2.0 needs Vue 3. Our demo used the plain heroicons 2.2.0 package of SVG files.",
  "key_needed": false,
  "formats": "svg"
 },
 "good_to_know": [
  "Official packages exist only for React and Vue. The team does not take new icons or packages for other toolkits such as Svelte.",
  "The set is small, about three hundred icons, so check the list on heroicons.com before you plan a screen around it.",
  "The last release, 2.2.0, came out in November 2024 and added React 19 support; the site header still shows 2.1.5.",
  "Screen readers skip every icon by default, so a button that shows only an icon needs its own label."
 ],
 "stack_snippets": [
  {
   "stack": "React",
   "note": "Styles: 24/solid, 24/outline, 20/solid, 16/solid import paths.",
   "code": "npm install @heroicons/react\n\nimport { BeakerIcon } from '@heroicons/react/24/solid'\n\nfunction MyComponent() {\n  return (\n    <div>\n      <BeakerIcon className=\"size-6 text-blue-500\" />\n      <p>...</p>\n    </div>\n  )\n}",
   "url": "https://raw.githubusercontent.com/tailwindlabs/heroicons/master/README.md"
  },
  {
   "stack": "HTML/CSS",
   "note": "Inline SVG; the size-6 / text-* classes are Tailwind utilities.",
   "code": "<svg\n  class=\"size-6 text-gray-500\"\n  fill=\"none\"\n  viewBox=\"0 0 24 24\"\n  stroke=\"currentColor\"\n  stroke-width=\"2\"\n>\n  <path\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n    d=\"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z\"\n  />\n</svg>",
   "url": "https://raw.githubusercontent.com/tailwindlabs/heroicons/master/README.md"
  }
 ],
 "claims": [
  "316 icons, as the site header puts it"
 ],
 "checked": {
  "license_read": "2026-11-09",
  "overview_checked": "2026-11-09",
  "numbers_updated": "2026-11-26",
  "sources": [
   {
    "label": "heroicons.com",
    "url": "https://heroicons.com"
   },
   {
    "label": "github.com/tailwindlabs/heroicons",
    "url": "https://github.com/tailwindlabs/heroicons"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/tailwindlabs/heroicons/blob/master/README.md"
   },
   {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/tailwindlabs/heroicons/blob/master/LICENSE"
   },
   {
    "label": "github.com/tailwindlabs/heroicons/blob/master/CHANGELOG.md",
    "url": "https://github.com/tailwindlabs/heroicons/blob/master/CHANGELOG.md"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/tailwindlabs/heroicons/blob/master/react/README.md"
   },
   {
    "label": "github.com/tailwindlabs/heroicons/blob/master/react/index.js",
    "url": "https://github.com/tailwindlabs/heroicons/blob/master/react/index.js"
   },
   {
    "label": "github.com/tailwindlabs/heroicons/blob/master/react/outline/index.js",
    "url": "https://github.com/tailwindlabs/heroicons/blob/master/react/outline/index.js"
   },
   {
    "label": "github.com/tailwindlabs/heroicons/blob/master/scripts/build.js",
    "url": "https://github.com/tailwindlabs/heroicons/blob/master/scripts/build.js"
   },
   {
    "label": "github.com/tailwindlabs/heroicons/blob/master/svgo.24.outline.mjs",
    "url": "https://github.com/tailwindlabs/heroicons/blob/master/svgo.24.outline.mjs"
   },
   {
    "label": "npm: heroicons",
    "url": "https://registry.npmjs.org/heroicons"
   },
   {
    "label": "npm: heroicons/2.2.0",
    "url": "https://registry.npmjs.org/heroicons/2.2.0"
   },
   {
    "label": "npm: @heroicons/react",
    "url": "https://registry.npmjs.org/@heroicons/react"
   },
   {
    "label": "npm: @heroicons/react/2.2.0",
    "url": "https://registry.npmjs.org/@heroicons/react/2.2.0"
   },
   {
    "label": "npm: @heroicons/vue/2.2.0",
    "url": "https://registry.npmjs.org/@heroicons/vue/2.2.0"
   },
   {
    "label": "github.com/tailwindlabs/heroicons/blob/master/react/package.json",
    "url": "https://github.com/tailwindlabs/heroicons/blob/master/react/package.json"
   },
   {
    "label": "github.com/tailwindlabs/heroicons/blob/master/vue/package.json",
    "url": "https://github.com/tailwindlabs/heroicons/blob/master/vue/package.json"
   }
  ],
  "unverified": null
 },
 "user_reports": null,
 "url": "https://agentgid.com/assets/heroicons/",
 "note": "Written by AgentGid from the official pages in checked.sources; quotes are copied from those pages. status: yes | cond | no | unknown | info. Prices and vendor claims are as reported on the checked date. Not legal advice."
}
