Skip to main content
FlowsFiltering & SortingFiltering and sorting orders similar to Shopify
shadcn/ui Flows

Filtering and sorting orderssimilar toShopify

A commerce admin’s orders list, cut down the way merchants actually work: switch to a saved view such as Unfulfilled, add a filter from a single "Search and filter" bar, then reorder and group what is left. Every chip edits in place, every change applies at once, and the rows really re-sort, regroup and recount as you go. The admin around the orders card is a wireframe sketch where your own app goes.

Install flow

Step 1 of 8All orders

Every screen

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

01All ordersThe full list: every order with its payment and fulfillment status, under a sketched strip of today’s numbers.
02Pick a viewThe view menu lists All, Unfulfilled, Unpaid, Open and Archived with a check on the current one.
03Unfulfilled ordersThe list drops fulfilled, cancelled and archived orders; the footer counts what is left.
04Choose a fieldA search box over the filterable fields: payment, fulfillment, delivery and return status, order total, delivery method, destination, sales channel, tags and number of items.
05Choose the valuesThe new "Payment status is" chip opens its checklist. Ticking Paid filters the table straight away.
06Paid and unfulfilledThe chip reads "Payment status is Paid"; Clear all, Reset view and Save view appear next to Sort.
07Sort, group and columnsSort by Total, Highest first: the biggest paid orders move to the top while the panel stays open.
08Grouped by batchUnbatched paid orders first with "Batch unfulfilled orders", then each batch under its own heading, all sorted by total.

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

An orders table narrowed in three layers: a saved view, a "Search and filter" bar that turns fields into chips, and one panel for sort order, batch grouping and visible columns.

Views first, filters on top

The switcher at the start of the toolbar holds the presets merchants use every day (All, Unfulfilled, Unpaid, Open, Archived). A view swaps the base list; filters and search narrow whatever the view holds, so "Unfulfilled · Payment status is Paid" needs one pick and one tick.

One bar for search and filters

Instead of a pill per field, a single "Search and filter" bar opens a list of fields with a search box on top. Typing either narrows the fields or, on Enter, searches order numbers, customers and tags. Picked fields become chips that read like a sentence and reopen their own editor.

Editors shaped by the values

Closed lists (payment status, delivery method, destination) get checkboxes plus Is / Is not, and apply on every tick. Numbers (order total, item count) get a minimum and a maximum with validation. A chip with nothing chosen disappears when its editor closes.

Sorting that really reorders

One menu holds the sort field and the direction, phrased for the field ("Highest first" for totals, "Newest first" for dates, A–Z for names). Column headers sort too and show the arrow. Group by batch splits the rows into fulfillment batches, and the columns list hides or shows any column.

Step by step

  1. 01

    All orders

    The full list: every order with its payment and fulfillment status, under a sketched strip of today’s numbers.

    The view switcher, the search-and-filter bar and the Sort button are all visible before anything is filtered.

  2. 02

    Pick a view

    The view menu lists All, Unfulfilled, Unpaid, Open and Archived with a check on the current one.

    Saved views answer the everyday questions in one click and give filters a sensible starting set.

  3. 03

    Unfulfilled orders

    The list drops fulfilled, cancelled and archived orders; the footer counts what is left.

    The view label in the toolbar says which preset is on, so a filter added next reads on top of it.

  4. 04

    Choose a field

    A search box over the filterable fields: payment, fulfillment, delivery and return status, order total, delivery method, destination, sales channel, tags and number of items.

    One list scales to many fields without a row of pills. Typing narrows it, and Enter searches the orders instead.

  5. 05

    Choose the values

    The new "Payment status is" chip opens its checklist. Ticking Paid filters the table straight away.

    Closed lists are faster to tick than to type. Is / Is not flips the condition without rebuilding the chip.

  6. 06

    Paid and unfulfilled

    The chip reads "Payment status is Paid"; Clear all, Reset view and Save view appear next to Sort.

    The toolbar now describes the slice in words, and every part of it can be removed or saved.

  7. 07

    Sort, group and columns

    Sort by Total, Highest first: the biggest paid orders move to the top while the panel stays open.

    Sorting is part of the slice: merchants ship the most valuable or the oldest orders first. The column list keeps the table narrow.

  8. 08

    Grouped by batch

    Unbatched paid orders first with "Batch unfulfilled orders", then each batch under its own heading, all sorted by total.

    Grouping turns the slice into work: orders already batched are out of the way, the rest can be batched in one click.

Built with shadcn/ui and Radix UI

  • Button
  • Dropdown Menu
  • Popover
  • Input
  • Checkbox
  • Switch
  • Field
  • Label
  • Table
  • Sonner

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

Frequently asked questions

Installing, adapting and theming this flow for Radix UI.