Elements

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.

PropTypeDefaultDescription
densityString as PropType<ConfigDensity>undefined—
sceneString as PropType<ConfigScene>undefined—
accentStringundefined—
dirString as PropType<"ltr" | "rtl">undefined—
localeStringundefined—