alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    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.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved