Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Bootstrap 5 Icon SnippetsNew to Visual Studio Code? Get it now.

Bootstrap 5 Icon Snippets

Joshua Needham

|
434 installs
| (0) | Free
A Visual Studio Code extension that generates icon snippets from the Bootstrap 5 icon library
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Bootstrap 5 Icon Snippets

Simple and easy Bootstrap 5 Icon snippets. There are over 1,900 icons available free from the Bootstrap team and they are always adding new ones. This extension makes it easy to insert <i></i> tags and a simple way to select the icon you would like from the completion suggestions.

Features

Nearly 2k icons provided by the Bootstrap team have been included in this extension.

Here is an example of a snippet:

<i class="bi bi-code" style="font-size: 2em; color: #007bff;"></i>

  • style= attribute includes default font-size: 2em; and color: #007bff; that can be tabbed through to change when adding an icon to your page.

Instructions

To select an icon simply start by typing bi and you will get a list of all currently available icons.

Next tab to the size if you would like to change the icon size.

Lastly tab to the color and either input your color code or select from the VS Code color chooser which also supports opacity.

Requirements

  • VS Code ^1.75.0
  • Bootstrap v5.2.3
  • Bootstrap Icons v1.10.13

Extension Settings

None

Known Issues

Selected language mode for the file you are working on needs to be HTML initially. This extension has been tested with HTML and ERB files but should work fine in other languages.

Release Notes

0.0.1

Initial release of the extension.

  • Bootstrap v5.2.3
  • Bootstrap Icons v1.10.13
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft