{"id":13461613,"url":"https://github.com/twbs/icons","last_synced_at":"2025-05-13T11:04:09.055Z","repository":{"id":37677442,"uuid":"198878888","full_name":"twbs/icons","owner":"twbs","description":"Official open source SVG icon library for Bootstrap.","archived":false,"fork":false,"pushed_at":"2025-05-09T23:04:25.000Z","size":71026,"stargazers_count":7626,"open_issues_count":418,"forks_count":1088,"subscribers_count":137,"default_branch":"main","last_synced_at":"2025-05-13T11:03:45.248Z","etag":null,"topics":["bootstrap","font","icons","sprite","svg","woff","woff2"],"latest_commit_sha":null,"homepage":"https://icons.getbootstrap.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/twbs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"zenodo":null},"funding":{"github":"twbs","open_collective":"bootstrap"}},"created_at":"2019-07-25T17:59:58.000Z","updated_at":"2025-05-12T09:15:34.000Z","dependencies_parsed_at":"2024-01-17T17:47:14.638Z","dependency_job_id":"40abf658-c639-4717-a2e4-bc8040d8db07","html_url":"https://github.com/twbs/icons","commit_stats":{"total_commits":1228,"total_committers":47,"mean_commits":"26.127659574468087","dds":0.6604234527687296,"last_synced_commit":"8a46937c005ca829471d3198b35bd3735c23fde5"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twbs%2Ficons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twbs%2Ficons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twbs%2Ficons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twbs%2Ficons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twbs","download_url":"https://codeload.github.com/twbs/icons/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253929359,"owners_count":21985802,"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":["bootstrap","font","icons","sprite","svg","woff","woff2"],"created_at":"2024-07-31T11:00:48.275Z","updated_at":"2025-05-13T11:04:09.026Z","avatar_url":"https://github.com/twbs.png","language":"JavaScript","funding_links":["https://github.com/sponsors/twbs","https://opencollective.com/bootstrap"],"categories":["JavaScript","General","TypeScript","IconSet Included","HTML","开源资源"],"sub_categories":["ICON 图标"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://getbootstrap.com/\"\u003e\n    \u003cimg src=\"https://getbootstrap.com/docs/5.2/assets/brand/bootstrap-logo-shadow.png\" alt=\"Bootstrap logo\" width=\"200\" height=\"165\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003eBootstrap Icons\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  Official open source SVG icon library for Bootstrap with over 2,000 icons.\n  \u003cbr\u003e\n  \u003ca href=\"https://icons.getbootstrap.com/\"\u003e\u003cstrong\u003eExplore Bootstrap Icons »\u003c/strong\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://getbootstrap.com/\"\u003eBootstrap\u003c/a\u003e\n  ·\n  \u003ca href=\"https://themes.getbootstrap.com/\"\u003eThemes\u003c/a\u003e\n  ·\n  \u003ca href=\"https://blog.getbootstrap.com/\"\u003eBlog\u003c/a\u003e\n  \u003cbr\u003e\n\u003c/p\u003e\n\n[![Bootstrap Icons preview](https://github.com/twbs/icons/blob/main/.github/preview.png)](https://icons.getbootstrap.com/)\n\n## Install\n\nBootstrap Icons are packaged up and published to npm. We only include the processed SVGs in this package—it's up to you and your team to implement. [Read our docs](https://icons.getbootstrap.com/) for usage instructions.\n\n```shell\nnpm i bootstrap-icons\n```\n\nFor those [using Packagist](https://packagist.org/packages/twbs/bootstrap-icons), you can also install Bootstrap Icons via Composer:\n\n```shell\ncomposer require twbs/bootstrap-icons\n```\n\n[Also available in Figma](https://www.figma.com/community/file/1042482994486402696/Bootstrap-Icons).\n\n## Usage\n\nDepending on your setup, you can include Bootstrap Icons in a handful of ways.\n\n- Copy-paste SVGs as embedded HTML\n- Reference via `\u003cimg\u003e` element\n- Use the SVG sprite\n- Include via CSS\n\n[See the docs for more information](https://icons.getbootstrap.com/#usage).\n\n## Development\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/twbs/icons/test.yml?branch=main\u0026label=Tests\u0026logo=github)](https://github.com/twbs/icons/actions/workflows/test.yml?query=workflow%3ATests+branch%3Amain)\n[![npm version](https://img.shields.io/npm/v/bootstrap-icons?logo=npm\u0026logoColor=fff)](https://www.npmjs.com/package/bootstrap-icons)\n\nClone the repo, install dependencies, and start the Hugo server locally.\n\n```shell\ngit clone https://github.com/twbs/icons/\ncd icons\nnpm i\nnpm start\n```\n\nThen open `http://localhost:4000` in your browser.\n\n### npm scripts\n\nHere are some key scripts you'll use during development. Be sure to look to our `package.json` or `npm run` output for a complete list of scripts.\n\n| Script       | Description                                                                   |\n|--------------|-------------------------------------------------------------------------------|\n| `start`      | Alias for running `docs-serve`                                                |\n| `docs-serve` | Starts a local Hugo server                                                    |\n| `pages`      | Generates permalink pages for each icon with template Markdown                |\n| `icons`      | Processes and optimizes SVGs in `icons` directory, generates fonts and sprite |\n\n## Adding SVGs\n\nIcons are typically only added by @mdo, but exceptions can be made. New glyphs are designed in Figma first on a 16x16px grid, then exported as flattened SVGs with `fill` (no stroke). Once a new SVG icon has been added to the `icons` directory, we use an npm script to:\n\n1. Optimize our SVGs with SVGO.\n2. Modify the SVGs source code, removing all attributes before setting new attributes and values in our preferred order.\n\nUse `npm run icons` to run the script, run `npm run pages` to build permalink pages, complete those pages, and, finally, commit the results in a new branch for updating.\n\n**Warning**: Please exclude any auto-generated files, like `font/**` and `bootstrap-icons.svg` from your branch because they cause conflicts, and we generally update the dist files before a release.\n\n## Publishing\n\nDocumentation is published automatically when a new Git tag is published. See our [GitHub Actions](https://github.com/twbs/icons/tree/main/.github/workflows) and [`package.json`](https://github.com/twbs/icons/blob/main/package.json) for more information.\n\n## License\n\n[MIT](LICENSE)\n\n## Author\n\n[@mdo](https://github.com/mdo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwbs%2Ficons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwbs%2Ficons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwbs%2Ficons/lists"}