Elements

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.

PropTypeDefaultDescription
itemsArray as PropType<unknown[]>—
layoutString as PropType<"list" | "grid">"list"Ledger rows or a lattice of cards.
pageSizeNumber as PropType<number>undefinedRecords per page; leave unset to show everything at once.
Slot
#header
#item