Skip to main content
FlowsFiltering & SortingFiltering companies similar to Attio
shadcn/ui Flows

Filtering companiessimilar toAttio

A filter builder for dense record tables. Each filter is one chip that reads like a sentence (Employee range · less than · 1K–5K), built in three small pickers that open one after another from the chip itself. The table narrows the moment the sentence is complete, and the view only changes for everyone when you save it.

Install flow

Step 1 of 5Companies table

Every screen

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

01Companies tableAll 32 companies, sorted by last interaction, with a Filter button in the toolbar.
02Pick an attributeA searchable list of company attributes opens under Filter.
03Choose a conditionThe new chip shows "Select condition" and the condition menu is open under it.
04Pick a valueThe value picker lists the options as coloured tags, with a search on top.
05Filtered resultsEleven companies with fewer than 1,000 employees, the chip in the toolbar and a save bar on the right.

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

Filter a CRM table with chips: pick an attribute, a condition and a value, and the rows, the count and the save bar update as you go.

A filter reads like a sentence

Attribute, condition, value: three segments on one chip, each a button that reopens its own picker. Users can change "less than" to "greater than" without rebuilding the filter, and anyone glancing at the toolbar can read what the table shows.

Conditions follow the attribute

Text gets contains and starts with, ranked lists (employee range, connection strength) get less than and greater than, tags get contains any of, and "is empty" needs no value at all, so the chip completes as soon as it is picked.

The value picker matches the data

Options appear exactly as they do in the table (the same coloured tags and strength bars) with a search on top. Conditions that can match several values show checkboxes and stay open; single-value conditions apply on the first click.

Results respond, the view waits

Rows and the count update on every change and incomplete chips are ignored instead of emptying the table. Discard changes and Save view only appear once the view differs from what was saved, and an empty result offers Clear filters instead of a blank grid.

Step by step

  1. 01

    Companies table

    All 32 companies, sorted by last interaction, with a Filter button in the toolbar.

    Filters start from a populated table so the user sees what they are narrowing. The toolbar shows the current sort next to the Filter button, both one click away.

  2. 02

    Pick an attribute

    A searchable list of company attributes opens under Filter.

    Starting with the attribute narrows everything that follows: the conditions and values offered next depend on it. Search keeps long attribute lists usable.

  3. 03

    Choose a condition

    The new chip shows "Select condition" and the condition menu is open under it.

    Only conditions that make sense for the attribute are offered. A ranked attribute like employee range gets less than and greater than; empty and not empty complete the chip without a value.

  4. 04

    Pick a value

    The value picker lists the options as coloured tags, with a search on top.

    Options look the same as in the table, so users recognise them. "Less than" takes one value and applies on click; "is" takes several and keeps the list open with checkboxes.

  5. 05

    Filtered results

    Eleven companies with fewer than 1,000 employees, the chip in the toolbar and a save bar on the right.

    The count and rows change at once, and the chip stays editable in place. Save view appears because the view now differs from the saved one; Discard changes puts it back.

Built with shadcn/ui and Radix UI

  • Button
  • Popover
  • Command
  • Dropdown Menu
  • Input
  • Field
  • Checkbox
  • Avatar
  • Sonner

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

Frequently asked questions

Installing, adapting and theming this flow for Radix UI.