Table
Structured data displays that organize information into rows and columns, enabling users to scan, sort, and analyze tabular data.
On this page
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 table components. These tokens ensure visual coherence while enabling flexible theme customization and brand adaptation for tabular data presentation and interactive functionality.
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 for comprehensive table styling and behavior control.
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 Token | Base Token |
|---|---|
| color.table.fg-head | {color.context.default.fg-main} |
| color.table.fg-data | {color.context.default.fg-main} |
| color.table.icon-sort | {color.context.default.fg-subtle} |
| color.table.border-main | {color.context.default.border-subtle} |
| color.table.cue-active | {color.context.default.cue-main} |
| color.table.bg-head | {color.context.default.bg-evident} |
| color.table.bg-data | {color.context.default.bg-main} |
| color.table.bg-alt | {color.context.default.bg-even} |
| color.table.bg-hover | {color.context.default.bg-evident} |
| color.table.bg-active | {color.context.default.bg-highlight} |
| color.table.bg-edit | {color.palette.warning.10} |
| color.section.default.fg-medium | {color.context.default.fg-main} |
Typography
| Component Token | Base Token |
|---|---|
| font.table.data-text | {font.text.small.normal} |
| font.table.head-text | {font.text.small.strong} |
| font.section.header-medium | {font.text.medium.strong} |
Sizing
| Component Token | Base Token |
|---|---|
| size.icon.glyph.xsmall | {size.unit.16} |
Spacing
| Component Token | Base Token |
|---|---|
| space.table.cell-padding-y | {space.unit.8} |
| space.table.cell-padding-x | {space.unit.8} |
| space.table.cell-gap | {space.unit.8} |
| space.context.medium | {size.unit.16} |
| space.context.2xsmall | {size.unit.4} |
Border Width
| Component Token | Base Token |
|---|---|
| borderWidth.table.main | {borderWidth.context.medium} |
Border Radius
| Component Token | Base Token |
|---|---|
| borderRadius.table.main | {borderRadius.context.medium} |
Box Shadow
| Component Token | Base Token |
|---|---|
| shadow.table.main | {shadow.context.none} |
| shadow.nav-left.main | color: {color.palette.black.t-20} type: dropShadow x: {dimension.base.5} y: {dimension.base.0} blur: {dimension.base.20} spread: {dimension.base.n5} color: {color.palette.black.t-10} type: dropShadow x: {dimension.base.d25} y: {dimension.base.0} blur: {dimension.base.10} spread: {dimension.base.nd25} |