BRAID
Braid Design System
⌘
K
Guides
Foundations
Components
Patterns
Styles
Foundations
Layout
Tones
Iconography
Tokens
Breakpoints
IconSentiment
Details
Details
Props
Props
Releases
Releases
NEGATIVE
NEUTRAL
POSITIVE
View code
Code
Open in
Playroom
Changing the feeling
The sentiment of the icon can be changed using the
feeling
prop.
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
Changing the feeling
Tailoring the appearance
Data attributes
BRAID
Braid Design System
⌘
K
Guides
Foundations
Components
Patterns
Styles