Table overview
Headless table adds stable slots, focus management, row ids, sticky metadata, and data-state hooks to native table markup.
Basic composition
Compose native table markup with primitive directives and your own styles.
Headless table (Plain CSS)
Headless table (Tailwind CSS)
Accessibility baseline
- Keep native
table,thead,tbody,tr,th, andtdsemantics. - Use
ariaLabelorariaLabelledbywhen the table has no visible caption. - Interactive controls inside cells are ignored by row click handling.