Icon Class

Blazor Bootstrap icon component will display an icon from any icon font.
Use the parameter Name to specify the Bootstrap icon name. The values from IconName are derived from the official Bootstrap icons set.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class Icon : ComponentBase
Inheritance
Object    ComponentBase    Icon

Constructors

IconInitializes a new instance of the Icon class

Properties

Color Gets or sets the icon color.
Name Gets or sets the icon name.
Size Gets or sets the icon size.

Methods

SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides ComponentBaseSetParametersAsync(ParameterView))

See Also