0
Components

Table

Responsive data table with default and rounded card surface variants, solid row hover states, and footer summaries.

Installation

Usage

Examples

Card Variant

With Badges

API Reference

Table

Renders a horizontally scrollable container (data-slot="table-container") wrapping a <table> element.

PropTypeDefaultDescription
variant"default" | "card""default"Flat row dividers or rounded tonal card body surface
renderReact.ReactElement-Custom outer container element
classNamestring-Additional CSS classes applied to the <table> element

TableHeader / TableBody / TableFooter / TableRow / TableHead / TableCell / TableCaption

Semantic HTML table subcomponents (<thead>, <tbody>, <tfoot>, <tr>, <th>, <td>, <caption>) styled for both default and card variants.

© taut ui — built with Base UI and Tailwind CSS v4.