๐ŸงจPre-releaseYou shouldn't use this library-1 min read

TableProps API Reference

Prop reference

TitleTypeDefaultDescription
variant'clean'
'clean'
experimental

Currently only "clean" is available.

isStripedboolean
false

Automatically stripe every second row.

fullWidthboolean
false

Automatically expand the table to the size of its container.

align'top'
| 'middle'
| 'bottom'
'top'

Default vertical alignment on cells

classNamestring
โ€“

Apply additional classNames to the root element, overriding default styles.

styleCSSProperties
โ€“

Apply optional CSSProperties to the root element.

* Props marked with an asterisk are required.

CSS target reference

ExportCSS Class TargetDescription
TableTargetClassRoot.NPUI-Table-root
โ€“
Exports are available from /src/components/table/table.tsx or from
Related APIs
Made by .