IconList

Open in Playroom

Customising the appearance

For details about customising the appearance of icons see the iconography documentation.

Data attributes

Braid components are very explicit about the properties they accept, which makes providing arbitrary data attributes not possible. Instead, a data prop can be provided as a single collection of data attributes.
<Icon
  data={{ testid: 'icon-1' }}
  // => data-testid="icon-1"
/>