Reference
Data View
One vessel, two layouts: the caller renders each record through the item slot, the view lays the records out as a ledger or a lattice and — when a page size is given — pages them with the pagination family's own parts rather than a second implementation.
Cell · Content · Pager
#DataView
One vessel, two layouts: the caller renders each record through the item slot, the view lays the records out as a ledger or a lattice and — when a page size is given — pages them with the pagination family's own parts rather than a second implementation.
| Prop | Type | Default | Description |
|---|---|---|---|
items | Array as PropType<unknown[]> | — | |
layout | String as PropType<"list" | "grid"> | "list" | Ledger rows or a lattice of cards. |
pageSize | Number as PropType<number> | undefined | Records per page; leave unset to show everything at once. |
| Slot |
|---|
#header |
#item |