This repository demonstrate how to use Bootstrap Icons in ASP.NET Core Project:
- Download the Bootstrap Icons zip file distribution
- Using curl or browser to download the bootstrap-icons.css in to the
wwwroot\lib\bootstrap-icons
folder in project:
- Extract the fonts folder from the zip file distribution into the
wwwroot\lib\bootstrap-icons\fonts
folder in project, like following structure:
- Add CSS reference in
Pages\_Host.cshtml
file:
- Use Icon font notation in razor files: