Table
A responsive table for rows of data such as stock, orders and prices.
components/ui/table.tsx
Preview
Code
| Product | SKU | Stock | Price |
|---|---|---|---|
| Oat latte | BV-1042 | 48 | $4.50 |
| Flat white | BV-1043 | 12 | $4.00 |
| Cold brew | BV-1051 | 0 | $5.00 |
Installation
npx betterone-ds add tableProps
| Component |
|---|
Accessibility
- Always give the table an aria-label.
- Mark the first column as the row header with isRowHeader.

