Data Display
Table
client22 kB
@stellaria/nebula-webTablePropsPreview
Props
9| Prop | Type | Default |
|---|---|---|
caption | ReactNode | — |
captionVisible | boolean | false |
children required | ReactNode | — |
className | string | — |
density | "compact" | "normal" | "comfortable" | "normal" |
highlightOnHover | boolean | false |
stickyHeader | boolean | false |
striped | boolean | false |
withBorder | boolean | false |
Slot props
1Each one spreads over an inner element, so you can restyle a region without forking the component.
| Prop | Type | Default |
|---|---|---|
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
7Table.BodyTable.CellTable.FootTable.HeadTable.RowTable.ScrollContainerTable.TitleAlso accepts
On top of its own props, this component forwards these groups.
Style props · 128