Bootstrap Icons Font

An icon font library based on Bootstrap icons.

Bootstrap Icons Font Bootstrap Icons Official Site
Install Bootstrap Icons Font with npm:
npm install bootstrap-icons-font
Install Bootstrap Icons Font with yarn:
yarn add bootstrap-icons-font
You can also download the compiled css and font files:
Basic Icons

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

<i class="bi-gear"></i>
<i class="bi-gear-fill"></i>
Icon Sizes

You can set the font sizes with font-size like common elements

<i class="bi-gear" style="font-size: 32px;"></i>

You can also use the utilities:

.bi--lg : font size is 1.33333333em
.bi--{{ i }}x : font size is {{ i }}em
<i class="bi-gear-fill bi--lg"></i>
<i class="bi-gear-fill bi--{{ i }}x"></i>
Animated Icons

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

<i class="bi-gear bi--spin"></i>
<i class="bi-download bi--spin"></i>
Rotated & Flipped

You can rotate and flip icons use the bi--rotate-* and bi--flip-* classes.

<i class="bi-bootstrap"></i>
<i class="bi-bootstrap bi--rotate-{{ deg }}"></i>
<i class="bi-bootstrap bi--flip-horizontal"></i>
<i class="bi-bootstrap bi--flip-vertical"></i>

Icons

.bi-
{{ icon }}