Skip to main content

TableHeader

The TableHeader component is analogous to DOM thead. It can support a variant in the header when either table-light or table-dark are set as the class.

Result
Header 1Header 2Header 3Header 4
Cell 1Cell 2Cell 3Cell 4
Cell 1Cell 2Cell 3Cell 4
Cell 1Cell 2Cell 3Cell 4
Cell 1Cell 2Cell 3Cell 4
Live Editor
Result
Header 1Header 2Header 3Header 4
Cell 1Cell 2Cell 3Cell 4
Cell 1Cell 2Cell 3Cell 4
Cell 1Cell 2Cell 3Cell 4
Cell 1Cell 2Cell 3Cell 4
Live Editor

Props

NameTypeDefault ValueRequiredDescription
keyKeyNo
radius"rounded" | "square"No
refRef<HTMLTableSectionElement>No