Skip to content
Data Display

Table

server24.25 kB
@stellaria/nebula-webTableProps

Preview

Props

9
PropTypeDefault

caption

ReactNode

—

captionVisible

booleanfalse

children

required
ReactNode

—

className

string

—

density

"compact" | "normal" | "comfortable""normal"

highlightOnHover

booleanfalse

stickyHeader

booleanfalse

striped

booleanfalse

withBorder

booleanfalse

Slot props

1

Each one spreads over an inner element, so you can restyle a region without forking the component.

PropTypeDefault

captionProps

The table `caption`. With `captionVisible={false}` the text sits inside a `VisuallyHidden`, so whatever you pass here is not visible; it is still useful for `id` or `lang`.

TextSlotProps

—

Parts

7
Table.BodyTable.CellTable.FootTable.HeadTable.RowTable.ScrollContainerTable.Title

Also accepts

On top of its own props, this component forwards these groups.

Style props · 128