Or - as was answered over here, you can use the newer Bootstrap Icons.
Install the package:
$ npm i bootstrap-icons
Import the CSS:
@import "~bootstrap-icons/font/bootstrap-icons.css";
Use the classes bi
(doubtless standing for “bootstrap icon”) and then bi-<SOME_ICON>
. For example, to use the Star Icon:
<i class="bi bi-star"></i>
The nearest matching icons in Bootstrap Icons would be star
and star-fill
for this exercise (so use classes bi-star
and bi-star-fill
).