austins / BootstrapIcons.Net

Bootstrap icons for WPF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BootstrapIcons.Net

Bootstrap Icons for .NET applications.

Build and Publish Package GitHub

BootstrapIcons.AspNetCore

NuGet

Install

  • Install BootstrapIcons.AspNetCore from nuget.org

Usage

In your Views/_ViewImports.cshtml, add a reference to the included tag helper:

@addTagHelper *, BootstrapIcons.AspNetCore

The BootstrapIconTagHelper is designed to work with the svg element. For example:

<svg bootstrap-icon="AlarmFill" width="24" height="24" aria-label="Alarms"></svg>

This will include the SVG path(s) for the icon inside the SVG element. Font-based icons are not supported. See the Bootstrap Icons Usage docs for more information.

BootstrapIcons.WPF

NuGet

Install

  • Install BootstrapIcons.Wpf from nuget.org

Usage

In your XAML top-level element (Window, Page, etc...) reference the following namespace:

<Window
...
    xmlns:bi="https://github.com/helluvamatt/BootstrapIcons.Wpf/"
...
>

Then, use the BootstrapIcon block tag:

<bi:BootstrapIcon Icon="AlarmFill" Width="32" Height="32" ForegroundColor="Black" />

License

This project is licensed under the terms of the MIT License.

About

Bootstrap icons for WPF

License:MIT License


Languages

Language:C# 82.5%Language:JavaScript 17.5%