Skip to content

Latest commit

 

History

History
65 lines (47 loc) · 1.94 KB

README.md

File metadata and controls

65 lines (47 loc) · 1.94 KB

Vizor.Icons

Blazor icon packs.

  • Available as SVG and font icons.
  • Compatible with >= .NET 6.0
  • MIT License (code)
    • Icon packs might have a different license. In that case, the entire package will use the same license.
  • Makes use of code generators to transform each icon pack to a usable .NET package.

Icon Packs

Currently the following icon packs are supported:

Quickstart

Dependencies

Add a package reference to a specific icon pack (no additional dependencies):

  • Vizor.Icons.Bootstrap
  • Vizor.Icons.Tabler

Usage in .razor files

Render an SVG icon (Bootstrap icon pack)

<BootstrapSvgIcon Icon="BootstrapSvgIcon.ExclamationTriangle" />

Render an SVG icon (Tabler icon pack) with custom styling.

<TablerSvgIcon Icon="TablerSvgIcon.ExclamationTriangle" CssClass="text-success" Width="32" Height="32" />

Use a font icon

<i class="BootstrapFontIcon.ExclamationTriangle" />

Documentation

More documentation is available in the Readme.md file of each icon pack.

Launch the Vizor.Icons.Demo project to preview all icons and style options. Make sure to read the build instructions carefully before launching the Demo project.

Future work

Following icon packs might be added in the future, open a request to let me know you are interested: