Icon API

API reference docs for theIconcomponent. For examples and details on the usage of this component, visit the component demo page.

Props

Prop

Type

Description

Default

tone?

'accentPrimary' | 'criticalPrimary'| 'neutralPrimary'| 'neutralSecondary'| 'neutralTertiary'

Tone of the Icon.

'accentPrimary'

size?

'16' | '20' | '24' | '32' | '40'

Size of the Icon.

'24'

aria-hidden?

boolean

A boolean attribute used for accessibility, often to hide the icon from assistive technologies.

_

id?

string

The unique identifier for the SVG element.

_