BootstrapIconsForDotNet 1.1.0

dotnet add package BootstrapIconsForDotNet --version 1.1.0
                    
NuGet\Install-Package BootstrapIconsForDotNet -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BootstrapIconsForDotNet" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BootstrapIconsForDotNet" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="BootstrapIconsForDotNet" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BootstrapIconsForDotNet --version 1.1.0
                    
#r "nuget: BootstrapIconsForDotNet, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BootstrapIconsForDotNet@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BootstrapIconsForDotNet&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=BootstrapIconsForDotNet&version=1.1.0
                    
Install as a Cake Tool

BootstrapIconsForDotNet

BootstrapIconsForDotNet is a lightweight .NET library that provides over 2000 SVG icons from Bootstrap (https://icons.getbootstrap.com/) Icons for easy integration into .NET applications, particularly web projects.

Features Over 2000 SVG Icons: Includes all Bootstrap Icons in a ready-to-use format. Easy Integration: Use icons directly in your .NET projects with minimal setup. High Customizability: Icons are in SVG format, allowing customization of color, size, and other properties. Installation Install the library via NuGet:

bash Copy code dotnet add package BootstrapIconsForDotNet Usage Add a reference to the Icons class to use any icon in your project.

Example in Blazor: razor Copy code

BootstrapIconsForDotNet

BootstrapIconsForDotNet is a lightweight .NET library that provides over 2000 SVG icons from Bootstrap Icons for easy integration into .NET applications, particularly web projects.

Features

  • Over 2000 SVG Icons: Includes all Bootstrap Icons in a ready-to-use format.
  • Easy Integration: Use icons directly in your .NET projects with minimal setup.
  • High Customizability: Icons are in SVG format, allowing customization of color, size, and other properties.

Installation

Install the library via NuGet:

Usage

Add a reference to the Icons class to use any icon in your project.

Example in Blazor:

This renders the "houses" icon in your Blazor application.

Icon Reference

The Icons class contains all the icons as public const string fields. Each icon is named in uppercase and underscores, matching the icon name from Bootstrap Icons.

Example:

License

This library is licensed under the MIT License.

Bootstrap Icons License

Icons included in this library are derived from Bootstrap Icons, licensed under the MIT License.

<div>
    @((MarkupString)BootstrapIconsForDotNet.Icons.HOUSES)
</div>

This renders the "houses" icon in your Blazor application.

Icon Reference The Icons class contains all the icons as public const string fields. Each icon is named in uppercase and underscores, matching the icon name from Bootstrap Icons.

Example:

public const string HOUSES = """
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-houses" viewBox="0 0 16 16">
  <path d="M5.793 1a1 1 0 0 1 1.414 0l.647.646a.5.5 0 1 1-.708.708L6.5 1.707 2 6.207V12.5a.5.5 0 0 0 .5.5.5.5 0 0 1 0 1A1.5 1.5 0 0 1 1 12.5V7.207l-.146.147a.5.5 0 0 1-.708-.708zm3 1a1 1 0 0 1 1.414 0L12 3.793V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v3.293l1.854 1.853a.5.5 0 0 1-.708.708L15 8.207V13.5a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 4 13.5V8.207l-.146.147a.5.5 0 1 1-.708-.708zm.707.707L5 7.207V13.5a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V7.207z"/>
</svg>
""";

License This library is licensed under the MIT License.

Bootstrap Icons License Icons included in this library are derived from Bootstrap Icons, licensed under the MIT License. https://github.com/twbs/bootstrap/blob/main/LICENSE

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 198 4/24/2025
1.0.2 144 1/8/2025