Filter Table
ProNewLive status-chip filterable table with FLIP row reorganization, animated tabular counts, and click-to-cycle statuses.
Installation
pnpm dlx shadcn@latest add @viewport/filter-table
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
The code behind the preview above comes with Truffle Pro.
Props
| Prop | Type | Default |
|---|---|---|
| rows* | FilterRow[]Initial rows displayed in the live filterable table. | — |
| interactiveStatus | booleanAllow clicking a row's status pill to cycle its status live. | true |
| className | string | — |
Accessibility
- Status filter tabs use tablist/tab semantics; results list announces updates politely.
- Row status pills are real buttons that can be cycled via keyboard.
- Row reordering snaps without motion under reduced motion.