![]() |
VOOZH | about |
Bootstrap 5 has a growing collection of open-source, high-quality icons. You can use them within any element in your project with or without bootstrap.
There are the following ways to include bootstrap icons:
npm i bootstrap-icons
There are some tested alternative open-source icon sets to bootstrap icons like font awesome, feather, and octicons which have a wide range of scalable vector icons.
Example 1: IN this example we will create the icon as an SVG element.
Output:
Example 2: In this example we will use the font icon CDN link to import the icon
Output:
Reference:https://getbootstrap.com/docs/5.0/extend/icons/#bootstrap-icons