Blazor SvgIcon - Overview
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Size
Color
Flip
- Overview.razor
Loading the demo source code...please wait.
The SvgIcon component is part of Telerik UI for Blazor, a professional grade UI library with 110+ native components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.
Description
The Telerik UI for Blazor SvgIcon component allows you to display both predefined Telerik UI and custom SVG icons. To render a SvgIcon UI icon, use a value from the built in typed object SvgIcon
and pass it to the Icon
parameter. To display a custom icon, create a custom object that inherits from SvgBase
and pass it to the same Icon
parameter. Alternatively, you can render custom SVG markup directly as ChildContent
.
This Blazor Icons Overview example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.