Skip to main content

Icon

Use s-icon to display visual symbols that communicate meaning and functionality. Icons provide quick recognition and enhance the user interface.

Default: 'base'

Modify the color to be more or less intense.

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. Maps to PDS icon names.

Was this section helpful?

Code

<s-icon type="alert-circle"></s-icon>

Preview