Skip to main content

Icon

Displays graphic symbols to communicate meaning and functionality. Use to enhance navigation, indicate actions, or provide visual context alongside text.

Default: 'base'

Modify the color to be more or less intense.

string

A unique identifier for the element.

Default: 'base'

Adjusts the size of the icon.

Default: 'auto'

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

Default: ''

The type of icon to display.

Was this section helpful?

Code

<s-icon type="arrow-up" />
<s-icon type="arrow-down" />
<s-icon type="arrow-left" />
<s-icon type="arrow-right" />

Preview