Data
Table
A plain table that scrolls sideways on narrow screens.
src/components/ui/table.tsxNo ui-sdk
Invoices
| Nomor | Klien | Status | Jumlah |
|---|---|---|---|
| INV-0412 | Villa Lembah | Lunas | Rp42.500.000 |
| INV-0411 | Kopi Senja | Menunggu | Rp18.000.000 |
| INV-0410 | Klinik Sehati | Terlambat | Rp61.200.000 |
Import
tsx
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table";Guidelines
- Numbers align right with
tabular-nums, text aligns left.