Skip to main content
FlowsFiltering & SortingFiltering transactions similar to Stripe
shadcn/ui Flows

Filtering transactionssimilar toStripe

A dense payments list that stays readable as it is narrowed down. Every field you can filter on is a small pill above the table; each pill opens its own editor, applies on one button, and turns into a removable chip that says exactly what is filtered. The status cards above the table double as one-click presets and keep their counts in step with the other filters.

Install flow

Step 1 of 5All payments

Every screen

The 5 steps in order. Pick one to open it in the preview above.

01All paymentsThe full payments table with status cards and a row of filter pills.
02Filter by date and timeChoose "is in the last", type a number, pick a unit and a time zone, then apply.
03Results for the last 3 daysThe table and the card counts shrink to the date range; the chip reads "Last 3 days".
04Filter by statusTick one or more statuses in a scrolling checklist and apply.
05Filtered resultsBoth filters applied. Blocked or cancelled payments in the last 3 days: none, so the empty state shows.

Installation

Part of shadcn/ui Pro

Pro unlocks one-command install of every flow in Radix UI, Base UI and React Aria, plus all 507 blocks, the Figma kit, themes and the MCP server for your AI editor.

Part of shadcn/ui Pro

Pro unlocks one-command install of every flow in Radix UI, Base UI and React Aria, plus all 507 blocks, the Figma kit, themes and the MCP server for your AI editor.

Why this flow works

A payments table narrowed with filter chips: a relative date range with a time zone, a multi-select status list, live counts on status cards and an empty state that clears everything.

Every filter is visible before it is used

Date, amount, currency, status and payment method sit in a row of dashed "+ Field" pills, so users see what they can filter on without opening a menu. A rarely used field goes behind "More filters" instead of a pill of its own.

One editor per field, shaped for its values

Dates take a condition (in the last, equal to, between, after, before), the value it needs and a time zone. Amounts take a comparison and one or two numbers. Lists take checkboxes. Nothing changes until Apply, so half-typed values never flash through the table.

The chip tells you what is filtered

Once applied, the dashed pill becomes a solid chip with the value in the accent colour ("Last 3 days", "Blocked, Cancelled +1") and a remove button on its left. A "Clear filters" link appears only while something is filtered.

Counts and empty states answer "why is it empty?"

The status cards count against every other filter, so users can see where the payments went before they pick a status. When nothing matches, the table is replaced by a short empty state with one button that clears everything.

Step by step

  1. 01

    All payments

    The full payments table with status cards and a row of filter pills.

    Every filterable field is on screen before anything is filtered, and the cards show how the payments split by status.

  2. 02

    Filter by date and time

    Choose "is in the last", type a number, pick a unit and a time zone, then apply.

    A relative range answers the most common question ("what came in recently?") in two inputs. The time zone decides where a day starts, which matters for "is equal to" and "is between".

  3. 03

    Results for the last 3 days

    The table and the card counts shrink to the date range; the chip reads "Last 3 days".

    The applied chip says what is filtered and can be removed in one click. "Clear filters" appears next to the chips.

  4. 04

    Filter by status

    Tick one or more statuses in a scrolling checklist and apply.

    Statuses are a closed list, so checkboxes beat typing. Several can be combined, and the chip shows the first two with a count for the rest.

  5. 05

    Filtered results

    Both filters applied. Blocked or cancelled payments in the last 3 days: none, so the empty state shows.

    An empty table with filters on is a dead end unless it says why and offers a way out. The cards still show what the date range holds.

Built with shadcn/ui and Radix UI

  • Button
  • Popover
  • Select
  • Input
  • Checkbox
  • Radio Group
  • Field
  • Label
  • Table

This is an original rebuild of the flow's structure, with its own brand, copy and artwork. Stripe is a trademark of its owner; this page is not affiliated with or endorsed by Stripe.

Frequently asked questions

Installing, adapting and theming this flow for Radix UI.