{"id":13393596,"url":"https://github.com/tailwindlabs/heroicons","last_synced_at":"2025-05-12T16:12:18.312Z","repository":{"id":37273298,"uuid":"242754476","full_name":"tailwindlabs/heroicons","owner":"tailwindlabs","description":"A set of free MIT-licensed high-quality SVG icons for UI development.","archived":false,"fork":false,"pushed_at":"2024-12-26T21:49:18.000Z","size":2966,"stargazers_count":22342,"open_issues_count":9,"forks_count":1290,"subscribers_count":161,"default_branch":"master","last_synced_at":"2025-05-05T10:01:50.918Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://heroicons.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tailwindlabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-24T14:16:00.000Z","updated_at":"2025-05-05T07:57:38.000Z","dependencies_parsed_at":"2023-02-14T11:16:03.843Z","dependency_job_id":"4048b491-2c08-4969-bda6-15a493f08cc3","html_url":"https://github.com/tailwindlabs/heroicons","commit_stats":{"total_commits":227,"total_committers":33,"mean_commits":6.878787878787879,"dds":0.7400881057268722,"last_synced_commit":"2d1c52ce682b375e8900b1b119aa02a6f1706327"},"previous_names":["refactoringui/heroicons"],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailwindlabs%2Fheroicons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailwindlabs%2Fheroicons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailwindlabs%2Fheroicons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailwindlabs%2Fheroicons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailwindlabs","download_url":"https://codeload.github.com/tailwindlabs/heroicons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252478394,"owners_count":21754357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T17:00:56.666Z","updated_at":"2025-05-05T12:45:46.542Z","avatar_url":"https://github.com/tailwindlabs.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","UI Components / UI Tools","Uncategorized","CSS 相关","others","Recently Updated","IconSet Included","UI Components","Generic","🎨 Design \u0026 Creative"],"sub_categories":["Uncategorized","[Feb 24, 2025](/content/2025/02/24/README.md)","Icons"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://heroicons.com\" target=\"_blank\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/tailwindlabs/heroicons/HEAD/.github/logo-dark.svg\"\u003e\n      \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/tailwindlabs/heroicons/HEAD/.github/logo-light.svg\"\u003e\n      \u003cimg alt=\"Heroicons\" width=\"315\" height=\"117\" style=\"max-width: 100%\" src=\"https://raw.githubusercontent.com/tailwindlabs/heroicons/HEAD/.github/logo-light.svg\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Beautiful hand-crafted SVG icons, by the makers of Tailwind CSS. \u003cbr\u003eAvailable as basic SVG icons and via first-party \u003ca href=\"#react\"\u003eReact\u003c/a\u003e and \u003ca href=\"#vue\"\u003eVue\u003c/a\u003e libraries.\n\u003cp\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://heroicons.com\"\u003e\u003cstrong\u003eBrowse at Heroicons.com \u0026rarr;\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/tailwindlabs/heroicons/releases\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/heroicons\" alt=\"Latest Release\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/tailwindlabs/heroicons/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/heroicons.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Basic Usage\n\nThe quickest way to use these icons is to simply copy the source for the icon you need from [heroicons.com](https://heroicons.com) and inline it directly into your HTML:\n\n```html\n\u003csvg\n  class=\"size-6 text-gray-500\"\n  fill=\"none\"\n  viewBox=\"0 0 24 24\"\n  stroke=\"currentColor\"\n  stroke-width=\"2\"\n\u003e\n  \u003cpath\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  /\u003e\n\u003c/svg\u003e\n```\n\nBoth icon styles are preconfigured to be stylable by setting the `color` CSS property, either manually or using utility classes like `text-gray-500` in a framework like [Tailwind CSS](https://tailwindcss.com).\n\n## React\n\nFirst, install `@heroicons/react` from npm:\n\n```sh\nnpm install @heroicons/react\n```\n\nNow each icon can be imported individually as a React component:\n\n```js\nimport { BeakerIcon } from '@heroicons/react/24/solid'\n\nfunction MyComponent() {\n  return (\n    \u003cdiv\u003e\n      \u003cBeakerIcon className=\"size-6 text-blue-500\" /\u003e\n      \u003cp\u003e...\u003c/p\u003e\n    \u003c/div\u003e\n  )\n}\n```\n\nThe 24x24 outline icons can be imported from `@heroicons/react/24/outline`, the 24x24 solid icons can be imported from `@heroicons/react/24/solid`, the 20x20 solid icons can be imported from `@heroicons/react/20/solid`, and 16x16 solid icons can be imported from `@heroicons/react/16/solid`.\n\nIcons use an upper camel case naming convention and are always suffixed with the word `Icon`.\n\n[Browse the full list of icon names on UNPKG \u0026rarr;](https://unpkg.com/browse/@heroicons/react/24/outline/)\n\n## Vue\n\nFirst, install `@heroicons/vue` from npm:\n\n```sh\nnpm install @heroicons/vue\n```\n\nNow each icon can be imported individually as a Vue component:\n\n```vue\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n    \u003cBeakerIcon class=\"size-6 text-blue-500\" /\u003e\n    \u003cp\u003e...\u003c/p\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript setup\u003e\nimport { BeakerIcon } from '@heroicons/vue/24/solid'\n\u003c/script\u003e\n```\n\nThe 24x24 outline icons can be imported from `@heroicons/vue/24/outline`, the 24x24 solid icons can be imported from `@heroicons/vue/24/solid`, the 20x20 solid icons can be imported from `@heroicons/vue/20/solid`, and the 16x16 solid icons can be imported from `@heroicons/vue/16/solid`.\n\nIcons use an upper camel case naming convention and are always suffixed with the word `Icon`.\n\n[Browse the full list of icon names on UNPKG \u0026rarr;](https://unpkg.com/browse/@heroicons/vue/24/outline/)\n\n## Contributing\n\nWhile we absolutely appreciate anyone's willingness to try and improve the project, we're currently only interested in contributions that fix bugs, for example things like incorrect TypeScript types, or fixing an icon that's been exported with a fill instead of a stroke, etc.\n\n**We're not accepting contributions for new icons or adding support for other frameworks like Svelte or SolidJS**. Instead we encourage you to release your own icons in your own library, and create your own packages for any other frameworks you'd like to see supported.\n\n## License\n\nThis library is MIT licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailwindlabs%2Fheroicons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailwindlabs%2Fheroicons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailwindlabs%2Fheroicons/lists"}