Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Filter Table

ProNew

Live 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

PropTypeDefault
rows*FilterRow[]

Initial rows displayed in the live filterable table.

—
interactiveStatusboolean

Allow clicking a row's status pill to cycle its status live.

true
classNamestring—

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.