Zurück zum Ranking

twbs/icons

TypeScripticons.getbootstrap.com

Official open source SVG icon library for Bootstrap.

bootstrapiconssvgfontspritewoffwoff2
Sterne-Wachstum
Sterne
8.1k
Forks
1.1k
Wochenwachstum
Issues
465
2k4k6k8k
Nov. 2019Jan. 2022Apr. 2024Juli 2026
Artefaktenpmnpm install icons
README

Bootstrap logo

Bootstrap Icons

Official open source SVG icon library for Bootstrap with over 2,000 icons.
Explore Bootstrap Icons »

Bootstrap · Themes · Blog

Bootstrap Icons preview

Install

Bootstrap 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 for usage instructions.

npm i bootstrap-icons

For those using Packagist, you can also install Bootstrap Icons via Composer:

composer require twbs/bootstrap-icons

Also available in Figma.

Usage

Depending on your setup, you can include Bootstrap Icons in a handful of ways.

  • Copy-paste SVGs as embedded HTML
  • Reference via <img> element
  • Use the SVG sprite
  • Include via CSS

See the docs for more information.

Development

Build Status npm version

Clone the repo, install dependencies, and start the Hugo server locally.

git clone https://github.com/twbs/icons/
cd icons
npm i
npm start

Then open http://localhost:4000 in your browser.

npm scripts

Here 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.

Script Description
start Alias for running docs-serve
docs-serve Starts a local Hugo server
pages Generates permalink pages for each icon with template Markdown
icons Processes and optimizes SVGs in icons directory, generates fonts and sprite

Adding SVGs

Icons 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:

  1. Optimize our SVGs with SVGO.
  2. Modify the SVGs source code, removing all attributes before setting new attributes and values in our preferred order.

Use 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.

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.

Publishing

Documentation is published automatically when a new Git tag is published. See our GitHub Actions and package.json for more information.

License

MIT

Author

@mdo

Ähnliche Repositories
twbs/bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.

MDXMIT Licensecssbootstrap
getbootstrap.com
174.5k78.7k
ColorlibHQ/AdminLTE

AdminLTE - Free admin dashboard template based on Bootstrap 5

AstroMIT Licensebootstrapadmin-dashboard
adminlte.io
45.5k18.2k
tabler/tabler

Tabler is free and open-source HTML Dashboard UI Kit built on Bootstrap

HTMLMIT Licensedashboardhtml
tabler.io
41.3k4.4k
mdbootstrap/mdb-ui-kit

Bootstrap 5 & Material Design UI KIT

SCSSOthermaterial-designbootstrap-material
mdbootstrap.com/docs/standard/
24.3k3.4k
react-bootstrap/react-bootstrap

Bootstrap components built with React

TypeScriptnpmMIT Licensereactbootstrap
react-bootstrap.github.io
22.6k3.6k
ColorlibHQ/gentelella

Free Bootstrap 5 Admin Dashboard Template

HTMLMIT Licensebootstrapdashboard
gentelella.colorlib.com
21.4k6.8k
verekia/js-stack-from-scratch

🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack.

JavaScriptnpmMIT Licensetutorialstack
20.2k2k
thomaspark/bootswatch

Themes for Bootstrap

JavaScriptnpmMIT Licensebootswatchtheme
bootswatch.com
14.8k3.6k
bootstrap-vue/bootstrap-vue

MOVED to https://github.com/bootstrap-vue-next/bootstrap-vue-next

JavaScriptnpmMIT Licensebootstrapvue
bootstrap-vue-next.github.io/bootstrap-vue-next/
14.4k1.8k
selectize/selectize.js

Selectize is the hybrid of a textbox and <select> box. It's jQuery based, and it has autocomplete and native-feeling keyboard navigation; useful for tagging, contact lists, etc.

SCSSApache License 2.0tagginginput
selectize.dev
13k3.5k
uxsolutions/bootstrap-datepicker

A datepicker for twitter bootstrap (@twbs)

JavaScriptnpmApache License 2.0bootstrap-datepickerjavascript
12.7k5.9k
coreui/coreui-free-bootstrap-admin-template

Free Bootstrap Admin & Dashboard Template Built for AI-Assisted Development

HTMLMIT Licensebootstrapadmin
coreui.io/product/free-bootstrap-admin-template/
12.2k3.1k