Skip to main content

IconMode

Different Icon modes.

Enum fields​

NameDescription
ImageImage mode (by default). Configures the component to internally render role="img".
DecorativeDecorative mode. Configures the component to internally render role="presentation" and aria-hidden="true", making it purely decorative without semantic content or interactivity.
InteractiveInteractive mode. Configures the component to internally render role="button". This mode also supports focus and press handling to enhance interactivity.