Filtering agent toolssimilar to
Remote
A compact filter pattern for a long, mostly read-only table: here the list of actions an AI assistant can take in an HR account. Search and a single Filter button sit above the table. The button opens a small panel with one select per field; nothing changes until "Apply filters", and each applied value then shows as a chip that removes itself in one click. The table really filters, sorts by name and paginates, and the record count says what is left.
Every screen
The 4 steps in order. Pick one to open it in the preview above.
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 long reference table narrowed with one Filter button: a small panel with a select per field, Reset and Apply, then removable chips beside the search and a paginated count that follows.
One button, a short panel
With only two or three fields to filter on, a single Filter button beats a row of pills: the toolbar stays calm, and the panel shows every field at once as a labelled select with a plain placeholder ("Select operation", "Select domain").
Edit freely, apply once
Picking values only changes the panel. The table updates on "Apply filters", so a half-made choice never flashes through a long list. Each select has its own clear button, and Reset empties both before you apply.
Applied values become chips
After applying, each value sits next to the Filter button as an accent-coloured chip ("Write", "Employments") with a remove button. Removing a chip re-runs the list right away; "Clear all" drops every filter.
The count follows every change
The footer range ("1–12 of 12 tools") goes back to page 1 whenever the filters, search or page size change, so the user never lands on an empty page 3. If nothing matches, the table gives way to an empty state with one button that clears the search and the filters.
Step by step
- 01
All agent tools
The full list of tools, sorted by name, 25 per page, with search and a Filter button above it.
The table is useful before anything is filtered: names are copyable, and the footer says how many tools there are.
- 02
Open the filter panel
The panel opens under the Filter button with an empty select for Operation and for Domain.
Every field is visible at once with a placeholder that says what to do, so there is nothing to discover.
- 03
Choose the values
Write and Employments are picked. Each select shows a clear button; the table behind is unchanged.
Values are a draft until applied, so the long list does not jump while the user is still choosing.
- 04
Filtered tools
Twelve write tools in the Employments domain, with a chip for each value and the range "1–12 of 12 tools".
The chips say what is filtered and undo it one value at a time; the range confirms the result before the user reads the rows.
Built with shadcn/ui and Radix UI
- Button
- Popover
- Select
- Field
- Input Group
- Table
- Sonner
This is an original rebuild of the flow's structure, with its own brand, copy and artwork. Remote is a trademark of its owner; this page is not affiliated with or endorsed by Remote.
Frequently asked questions
Installing, adapting and theming this flow for Radix UI.
With a Pro plan, run npx shadcn@latest add @shadcnpro/flow-remote-filtering-agent-tools. The shadcn CLI copies the flow into components/flows/remote-filtering-agent-tools/ and adds the shadcn/ui components it uses. Base UI (@shadcnpro/base/flow-remote-filtering-agent-tools) and React Aria (@shadcnpro/aria/flow-remote-filtering-agent-tools) ship the same flow, with the same steps and copy.
No. It is an original rebuild of the structure of Remote's filtering & sorting flow, written from scratch with shadcn/ui, with its own brand, copy and artwork. Remote is a trademark of its owner, and this page is not affiliated with or endorsed by Remote.
Yes, the flow is a pattern, not a fixed template. A step you add should follow the same rules as the others, listed under Step anatomy in the flow spec, so it reads as part of the same flow.
Use the prompt in the Installation section. The agent installs the flow, then reads the flow spec at https://pro.shadcn.co/flows/remote-filtering-agent-tools.md, which describes the layout, the rules every step follows, each step's fields and actions, and how to adapt the flow. That way it builds a version with your brand and your steps instead of a one-to-one copy.
The tools are a local array and the filters, search, sort and pagination really run against it, but there is no backend: copying a name only shows a toast. The sidebar, the icons beside the title and the page actions are a wireframe sketch where your own app goes. In a real app, send the applied filters, search, sort and page to your list endpoint and keep them in the URL.
Button, Popover, Select, Field, Input Group, Table and Sonner, in their Radix UI versions. Everything else is plain markup with Tailwind CSS.
Yes. The flow only uses semantic tokens such as bg-background, bg-card and text-muted-foreground, so it picks up your colours, radius and fonts and switches with dark mode. Use the theme menu above the preview to see it in the Pro themes.
Yes. Below the large breakpoint the sketched sidebar is hidden and the brand mark moves into the title row. The search takes the first row of the toolbar, the Filter button and chips wrap under it, and the table scrolls sideways inside its card with the tool names pinned on the left. The first and last page buttons are hidden on phones.