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.

"base" | "subdued"
Default: 'base'

Modify the color to be more or less intense.

string

ID of a component that should respond to interest (e.g. hover and focus) on this component.

"small" | "base"
Default: 'base'

Adjusts the size of the icon.

"info" | "success" | "warning" | "critical" | "auto" | "neutral" | "caution"
Default: 'auto'

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

"" | "replace" | "search" | "split" | "link" | "edit" | "product" | "variant" | "collection" | "select" | "info" | "incomplete" | "complete" | "color" | "money" | "adjust" | "affiliate" | "airplane" | "alert-bubble" | "alert-circle" | "alert-diamond" | "alert-location" | "alert-octagon" | "alert-octagon-filled" | "alert-triangle"

Specifies the type of icon that will be displayed.

Examples
<s-stack direction="inline" gap="base">
<s-icon type="home" />
<s-icon type="order" />
<s-icon type="product" />
<s-icon type="settings" />
</s-stack>

Preview

Search and filter across all the available icons:

  • Orienting themselves and understanding available actions
  • Quickly identifying information and recognizing patterns

Icons should:

  • Use the same icon consistently for the same meaning
  • Appear next to related text labels
  • Only be used when their meaning is clear
Was this page helpful?