Enum IconSize
Specifies the available icon sizes for rendering icons within the SfIcon component when using the Name property.
Namespace: Syncfusion.Blazor.Buttons
Assembly: Syncfusion.Blazor.dll
Syntax
public enum IconSize
Remarks
IconSize values control the visual dimensions of the rendered icon. Small renders at 8px, Medium renders at 16px (the default), and Large renders at 24px. Use this enumeration to maintain UI consistency when displaying icons at different scales.
Examples
The following example demonstrates how to use a large icon with the SfIcon component in Blazor:
<SfIcon Name="@IconName.Save" Size="IconSize.Large" />
Fields
| Name | Description |
|---|---|
| Large | Indicates the largest icon size, where the icon is rendered at 24px. |
| Medium | Indicates the default medium size for the icon, where the icon is rendered at 16px. |
| Small | Indicates the smallest size for the icon, where the icon is rendered at 8px. |