Skip to content

Table

<ts-table> vv0.4.0

A styled wrapper for native HTML tables. Consumers place standard <table>, <thead>, <tbody>, <tr>, <th>, <td> elements inside.

Uses light DOM (no Shadow DOM) so nested table elements can be styled directly via the component’s CSS.

Open in Storybook for interactive demos.

<ts-table>Content</ts-table>
PropertyAttributeTypeDefaultDescription
borderedborderedbooleanfalseAdds borders to all cells.
compactcompactbooleanfalseReduces cell padding for denser display.
hoverablehoverablebooleanfalseHighlights rows on hover.
stickyHeadersticky-headerbooleanfalseMakes the table header stick to the top on scroll.
stripedstripedbooleanfalseApplies alternating row background colors.
NameDescription
*(default)*Default slot for the native <table> element.
<ts-table>Content</ts-table>
import { TsTable } from '@tessera-ui/react';
<TsTable>Content</TsTable>