Skip to content

igpeters/Blazor.Icon

Repository files navigation

Blazor Icon

by obsites

Nuget Nuget Build Status

A Blazor UI component for rendering an icon.

Currently Supports

  • Material Icons
  • Images

Future Plans

  • Font Awesome
  • Open Iconic

Tap the link above to go to a live demo. Try some of the options to get an idea of what's possible. Then reload the app in the browser and watch how the state was kept!

Check out its source code here.

For

  • Blazor WebAssembly
  • Blazor Server

Dependencies

.NETStandard 2.0
  • Mobsites.Blazor.BaseComponents (>= 1.0.3)

Design and Development

The design and development of this Blazor component was influenced by Microsoft's Steve Sanderson. He outlines a superb approach to building and deploying a reusable component library in this presentation and example.

As for the non-C# implementation of this component library, obviously the Material Icon docs were consulted carefully. We have elected to reference Google's CDN web font package directly instead of using npm to webpack them ourselves because Google packaged all the material icons into a single font that takes advantage of the typographic rendering capabilities of modern browsers, and Google correctly serve up the font specific to the browser.

Getting Started

Check out our new docs to help you get started.

About

A Blazor UI component for rendering an icon.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published