Icon API

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

Props

PropTypeDescriptionDefault
tone?'accentPrimary' | 'criticalPrimary'| 'neutralPrimary'| 'neutralSecondary'| 'neutralTertiary'Tone of the Icon.'accentPrimary'
size?'16' | '20' | '24' | '32' | '40'Size of the Icon.'24'
aria-hidden?booleanA boolean attribute used for accessibility, often to hide the icon from assistive technologies._
id?stringThe unique identifier for the SVG element._