IconMode
Different Icon modes.
Enum fields​
Name | Description |
---|---|
Image | Image mode (by default). Configures the component to internally render role="img". |
Decorative | Decorative mode. Configures the component to internally render role="presentation" and aria-hidden="true", making it purely decorative without semantic content or interactivity. |
Interactive | Interactive mode. Configures the component to internally render role="button". This mode also supports focus and press handling to enhance interactivity. |