Data table: Plain table
The plain <Table /> parts the data table is built from. Use them on their own for static data, with a caption and a footer total.
| Invoice | Status | Method | Amount |
|---|---|---|---|
| INV001 | Paid | Credit card | $250.00 |
| INV002 | Pending | PayPal | $150.00 |
| INV003 | Unpaid | Bank transfer | $350.00 |
| INV004 | Paid | Credit card | $450.00 |
| Total | $1,200.00 | ||
This adds the example as components/examples/data-table/table.tsx, together with the Data table component and the HextaUI theme tokens it needs.
pnpm dlx shadcn@latest add https://hextaui.com/r/data-table-table.jsonTo add only the component, follow the Data table installation.
See them all, with keyboard support and accessibility notes, on the Data table page.
- ButtonButtons in every variant and size, with a built-in loading, success and error flow that skips the spinner for fast requests.
- CheckboxA checkbox whose check draws in, with indeterminate parents, groups and labels that share its hover.
- SkeletonPlaceholders that wait 150ms before showing, take the exact size of the content they wrap, and fade it in without moving anything.
- TableA responsive table with a surface style, wrapping or compact cells, sticky headers, pinned columns and scroll hints.
- AvatarUser photos with an initials fallback, status badges and stacked groups that collapse into a count.
- BadgeStatus labels with colored dots, removable tags that slide closed and counts that roll to their new value.