by
obsites
A Blazor UI component for rendering an icon.
- Material Icons
- Images
- 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.
- Blazor WebAssembly
- Blazor Server
- Mobsites.Blazor.BaseComponents (>= 1.0.3)
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.
Check out our new docs to help you get started.