Components
Besides the global semantic tokens, EUI also provides a set of component-scoped tokens for customizing the appearance of specific EUI components in more detail.
These tokens are available via the euiTheme.components
object and allow you to override or extend the default styles for specific EUI components.
See the available component tokens here.
Token stability
Not all component tokens are equally stable yet and might be changed or removed in the future. Use with caution.
Buttons
background: #D9E8FF
tsx code block:css` background: ${euiTheme.components.buttons.backgroundPrimary}; `
Sample | Token | Value |
---|---|---|
components.buttons.backgroundPrimary |