Anima · anima-pos
Table
List rendering, columns, sort, sticky header
§ 01
General Setting
Universal defaults applied to every module of this component for this scope.Header backgroundcolor
Brand thead colour. Drives every Table row in this app.Default page sizenumber
Initial page size. User can override per session.Densityenum
Row height baseline.Striped rowsboolean
Alternate row tint.Cell dividersboolean
Vertical rule between cells.Sticky headerboolean
Pin thead to scroll container.Mobile breakpointenum
Below this, rows render as cards.§ 02
Modules
Pick one. The live preview + wildcards below reflect the chosen module.§ 03
Live Preview
The "Pengeluaran" module rendered with the current general settings.scope · Anima · anima-pos
canonical · packages/ui/src/tables/pengeluaran.tsx
| Tanggal | Kategori | Keterangan | Bayar | Nominal |
|---|---|---|---|---|
| 29 Apr | Marketing | Cetak menu fine-dining | QRIS | Rp 750.000 |
| 29 Apr | Perlengkapan | Lilin meja, ulang stok | Tunai | Rp 432.000 |
| 30 Apr | Operasional | Servis grinder espresso | Transfer | Rp 1.200.000 |
| 30 Apr | Perlengkapan | Tray rotan untuk amenities | Kartu | Rp 570.000 |
| 1 Mei | Marketing | Iklan IG carousel kopi | E-wallet | Rp 2.400.000 |
| 1 Mei | Lainnya | Bunga meja per minggu | Tunai | Rp 580.000 |
| 2 Mei | Operasional | Tinta receipt printer | QRIS | Rp 280.000 |
| 2 Mei | Perlengkapan | Refill aroma diffuser | Transfer | Rp 936.000 |
| Total · 8 catatan | Rp 7.148.000 | |||
§ 04
Wildcards
The API surface of "Pengeluaran". Edit a wildcard's value below to bend the preview above.- 01datarenderrequired
ServerListResult<PengeluaranRow> envelope from useServerList.
- 02totalNominalnumberrequired
Sum nominal across active filter — drives the tfoot total cell.
- 03flashIdnumber= null
Row id that flashes briefly post-save (yellow tint, fades ~1s).
- 04setPageSizerender
Page-size setter. Omit to hide the per-page selector.
- 05emptyStateslot= Belum ada pengeluaran tercatat.
Shown when data has zero rows. Replaces full table chrome.
- 06kategori listenum= sewa, utilitas, upah, operasional, marketing, perlengkapan, lainnya
Allowed categories. Drives the kategoriBadge tone map.