Skip to content

Table ​

Overview ​

A table wrapper component providing a framed, scrollable container and styled table element.

The frame sits outside the scroll container, so rows and sticky header cells scroll inside it and never paint over its edge.

Supports a sticky-header mode (sticky prop) that pins thead cells to the top of the scroll container, and a three-tier density mode (density prop: default | compact | condensed) that drives data-density on the <table> element so descendant TableHead and TableCell primitives pick up the matching row heights.

Theme entry: Table

Props ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
stickybooleanfalseWhen true, the container becomes a vertically scrollable region with a sticky thead.
densitystringundefinedRow-height tier applied via data-density on the table element.

Slots ​

default ​

Slot.

Source ​

client/lib/grid/table/Table.vue