Reference
Config Provider
The four density tiers the token layer's `[data-density]` selectors name — whitespace and control heights compress, readability never does.
#ConfigProvider
The declarative host for global configuration: one element that both
carries the token layer's attributes — [data-density] and
[data-accent] fire on any element — and provides the same values to
descendants through useConfig, so interactive behavior (formatting,
messages) and visual theming stay one decision.
| Prop | Type | Default | Description |
|---|---|---|---|
density | String as PropType<ConfigDensity> | undefined | — |
scene | String as PropType<ConfigScene> | undefined | — |
accent | String | undefined | — |
dir | String as PropType<"ltr" | "rtl"> | undefined | — |
locale | String | undefined | — |