BRAID
Braid Design System
⌘
K
Guides
Foundations
Components
Patterns
Styles
Foundations
Layout
Tones
Iconography
Tokens
Breakpoints
IconVideo
Details
Details
Props
Props
Releases
Releases
View code
Code
Open in
Playroom
Tailoring the appearance
For details about tailoring 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"
/>
Copy
On this page
Tailoring the appearance
Data attributes
BRAID
Braid Design System
⌘
K
Guides
Foundations
Components
Patterns
Styles