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

Filtering transactionssimilar toMercury

A banking ledger that stays one table no matter how it is sliced. The toolbar holds three layers of filtering: saved views for the questions asked every month, quick popovers for the three fields people reach for most, and a Filters panel with every field. Each applied filter becomes a chip in the same toolbar, and the totals and row count always describe exactly what is on screen. The banking app around the page (sidebar, top bar, page actions, export) is a wireframe sketch where your own app goes.

Install flow

Step 1 of 8Transactions

Every screen

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

01TransactionsAll transactions, with this month’s totals and the filter toolbar.
02Data viewsPick a saved view such as “Monthly money in”.
03Saved view appliedThe view’s filters are applied and shown as chips; the totals switch to money in for this month.
04Filters panelChoose a field on the left and set its value on the right.
05DateChoose a preset, type a range, or pick months on the grid.
06KeywordsSearch merchants and recipients, or match any name containing the text.
07AmountPick a direction and an exact amount or a range.
08Filtered resultsThe Amount chip reads “≥ $5,000”; the totals and the row count follow the filter.

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 transactions table filtered from one toolbar: saved views, a Filters panel with every field, quick Date, Keywords and Amount popovers, and chips that show and remove what is applied.

Common fields one click away, the rest one panel away

Date, Keywords and Amount have their own buttons because most searches start there. Methods, categories, accounts, team members, status and receipts sit in a two-column Filters panel: field list on the left, the editor on the right, a dot on every field that is set.

A button becomes its own chip

Once Amount has a value, the Amount button turns into a filled chip that reads “≥ $5,000”, with an × to remove it. Fields without a button appear as extra chips. The toolbar always says what is filtered, in words, without opening anything.

Results update while you choose

There is no Apply step: every checkbox, radio or typed amount filters the table at once. The Filters panel shows the live result count in its footer, so “Show results” is a promise of a number, and an empty result offers to clear the filters instead of a blank table.

Saved views are filters with a name

Data views apply a stored set of filters in one click. Change anything and Revert changes and Save view appear; build a filter from scratch and Create view turns it into a new view. Views never hide the filters, so the user can always see why a row is missing.

Step by step

  1. 01

    Transactions

    All transactions, with this month’s totals and the filter toolbar.

    The starting point shows everything, newest first, and puts every way to narrow it in one row above the table.

  2. 02

    Data views

    Pick a saved view such as “Monthly money in”.

    The questions asked every month are one click away, and Create view leads to the Filters panel for building a new one.

  3. 03

    Saved view applied

    The view’s filters are applied and shown as chips; the totals switch to money in for this month.

    The view chip replaces the Data views button and keeps an × to leave it. Its filters stay visible as chips, so the user sees why rows are missing; changing one reveals Revert changes and Save view.

  4. 04

    Filters panel

    Choose a field on the left and set its value on the right.

    Every field in one place without a long form: the list shows which fields are set, the editor changes with the selection, and the footer counts the results live.

  5. 05

    Date

    Choose a preset, type a range, or pick months on the grid.

    Three ways to the same range: presets for the usual periods, inputs for exact days, and a month grid where one click picks a month and a second click extends it to a range.

  6. 06

    Keywords

    Search merchants and recipients, or match any name containing the text.

    Recent names cover most searches without typing. Typing offers “Anything matching …” first, so a partial name catches every spelling.

  7. 07

    Amount

    Pick a direction and an exact amount or a range.

    Direction answers “money in or out?” before any number. An exact amount and a range exclude each other, so the inputs that cannot apply are disabled instead of silently ignored.

  8. 08

    Filtered results

    The Amount chip reads “≥ $5,000”; the totals and the row count follow the filter.

    The applied filter is readable in the toolbar and removable in one click. Reset clears everything; Create view saves the combination under a name.

Built with shadcn/ui and Radix UI

  • Button
  • Popover
  • Dropdown Menu
  • Table
  • Checkbox
  • Radio Group
  • Select
  • Input
  • Input Group
  • Field
  • Label
  • Badge
  • Avatar
  • Sonner

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

Frequently asked questions

Installing, adapting and theming this flow for Radix UI.