Skip to main content

Icon

Renders a graphic symbol to visually communicate core parts of the product and available actions. Icons can act as wayfinding tools to help users quickly understand their location within the interface and common interaction patterns.

string

A unique identifier for the element.

'small' | 'large' | 'base' | 'small-200' | 'small-100' | 'large-100'

Adjusts the size of the icon.

'custom' | 'success' | 'auto' | 'neutral' | 'info' | 'warning' | 'critical'

Sets the tone of the icon, based on the intention of the information being conveyed.

'' |
Was this section helpful?

Code

<s-icon type="store" />
<s-icon type="star" />
<s-icon type="settings" />
<s-icon type="image" />

Preview