Skip to main content Skip to docs navigation

Data visualization components that represent information graphically through various chart types like bar, line, pie, and donut charts.

This documentation is a work in progress and may contain incomplete or outdated information. If you have any feedback or suggestions, please open an issue on GitHub.

Tokens

Standardized design system values that define consistent visual properties across chart components. These tokens ensure visual coherence while enabling flexible theme customization and brand adaptation.

Theming Tokens

Design tokens organized by category with color-coded labels indicating their scope and impact level. Each token includes detailed specifications with values, usage guidelines, and customization options.

Legend:
  • Granular tokens that affect only this component.
  • Granular tokens that affect other components.
  • Semantic tokens that affect the whole application.
  • Base tokens that affect the whole application.

Color

Component TokenBase Token
color.context.default.fg-main {color.base.context.light.default.fg-main}
color.context.default.dim-slight {color.base.context.light.default.dim-slight}
color.context.primary.base-color {color.base.context.light.primary.base-color}
gradient.palette.primary.l-50-000 linear-gradient(0deg, {color.palette.primary.transparent} 0%, {color.palette.primary.base} 100%)
gradient.palette.white.l-180 linear-gradient(180deg, {color.palette.white.transparent} 0%, {color.palette.white.base} 100%)
gradient.palette.white.l-270 linear-gradient(270deg, {color.palette.white.transparent} 0%, {color.palette.white.base} 100%)

Typography

Component TokenBase Token
font.text.xsmall.normal {fontFamily: {typography.fontFamily.text}, fontWeight: {typography.fontWeight.text.normal}, lineHeight: {typography.lineHeight.text.xsmall}, fontSize: {typography.fontSize.text.xsmall}, letterSpacing: {typography.letterSpacing.base.zero}, paragraphSpacing: {typography.paragraphSpacing.base.zero}, textCase: {typography.textCase.base.none}, textDecoration: {typography.textDecoration.base.none}}
font.text.xlarge.strong {fontFamily: {typography.fontFamily.text}, fontWeight: {typography.fontWeight.text.strong}, lineHeight: {typography.lineHeight.text.xlarge}, fontSize: {typography.fontSize.text.xlarge}, letterSpacing: {typography.letterSpacing.base.zero}, paragraphSpacing: {typography.paragraphSpacing.base.zero}, textCase: {typography.textCase.base.none}, textDecoration: {typography.textDecoration.base.none}}

Spacing

Component TokenBase Token
space.unit.8 {dimension.base.8}

Border Radius

Component TokenBase Token
borderRadius.context.small {borderRadius.base.context.small}

Opacity

Component TokenBase Token
opacity.level.10 0.1