Searching Puzzle Pieces

Type to search Puzzle Pieces.

Table

A config-first styled semantic table. A columns schema and a rows array render one real table with per-column alignment, an optional caption, and an empty state.

Invoices billed this quarter
InvoiceClientStatusAmount
INV-1042Acme Inc.Paid$1,200.00
INV-1043GlobexPending$980.00
INV-1044InitechPaid$3,450.00
INV-1045Umbrella Co.Overdue$540.00
INV-1046SoylentDraft$120.00

Installation

Copy the piece into your app — it compiles with your build and the code is yours:

puzzle add piece table

This is the presentational tier, not a data grid. Sorting, selection, and virtualization are out of scope by design — own that state in the parent and feed sorted or paged rows in.

Usage

import Table from '@/components/ui/Table.pzl';
<Table columns={ columns } rows={ rows } caption="Invoices billed this quarter" />

Alignment

ItemQtyPrice
Enamel pin3$18.00
Sticker sheet12$6.00
Tote bag1$24.00

Empty state

InvoiceClientStatusAmount
No invoices this quarter.