bootstrap-icons-font

An icon font library based on Bootstrap Icons
5,451
Install
npm install bootstrap-icons-font
Latest Version:2.0.7
Vue:2
License:MIT
Last Updated:Nov 29, 2020
Links: npm
Maintainer: codesinging

Bootstrap Icons Font

An icon font library including 1000+ icons, based on Bootstrap Icons, generated by IcoMoon.

Install

Bootstrap Icons Font is published to npm. You can install it via command line.

Install with npm:

npm install bootstrap-icons-font

Install with yarn:

yarn add bootstrap-icons-font

Usage

Basic Icons

The Bootstrap Icons Font is designed to be used with inline elements, i and span are recommended.

<i class="bi-gear"></i>
<span class="bi-gear-fill"></span>

Icon Sizes

We provide some useful utilities to set font sizes:

  • .bi--xs : font size is 0.5em
  • .bi--sm : font size is 0.75em
  • .bi--md : font size is 1em
  • .bi--lg : font size is 1.25em
  • .bi--xl : font size is 1.5em
  • .bi--2xl : font size is 2em
  • .bi--3xl : font size is 2.5em
  • .bi--4xl : font size is 3em
  • .bi--5xl : font size is 3.5em
  • .bi--6xl : font size is 4em
  • .bi--7xl : font size is 4.5em
  • .bi--8xl : font size is 5em

Examples:

<i class="bi-gear-fill bi--lg"></i>
<i class="bi-gear-fill bi--2xl"></i>

Animated Icons

You can use the bi--spin class to get any icon to rotate.

<i class="bi-gear bi--spin"></i>

Rotated Icons

You can use the bi--rotate-* class to rotate icons.

<i class="bi-bootstrap bi--rotate-45"></i>
<i class="bi-bootstrap bi--rotate-90"></i>
<i class="bi-bootstrap bi--rotate-135"></i>
<i class="bi-bootstrap bi--rotate-180"></i>
<i class="bi-bootstrap bi--rotate-225"></i>
<i class="bi-bootstrap bi--rotate-270"></i>
<i class="bi-bootstrap bi--rotate-315"></i>

Flipped Icons

You can use the bi--flip-* class to flip icons.

<i class="bi-bootstrap bi--flip-horizontal"></i>
<i class="bi-bootstrap bi--flip-vertical"></i>

Icons

Icons

License

MIT

Thanks

Thank Bootstrap team for providing us the great icons.

Related Packages

bootstrap-icons-vue

Bootstrap icons as Vue components.

194,802 49
@dvuckovic/vue3-bootstrap-icons

A Vue.js component for rendering Bootstrap Icons via the SVG sprite method.

10,858 7
@iconify-prerendered/vue-bi

Bootstrap Icons components for Vue. Designed for ease of use and high performanc...

4,251 112
@vue-hero-icons/outline

A set of free MIT-licensed high-quality SVG icons as Vue functional components.

246,298 101
vue-multiselect-bootstrap-theme

Bootstrap 3/4/5 themes for vue-multiselect

8,906 6

Version History

Version Released Vue License
2.0.7 ^2.6.11 MIT
2.0.6 ^2.6.11 MIT
2.0.5 ^2.6.11 MIT
2.0.4 ^2.6.11 MIT
2.0.3 ^2.6.11 MIT