Filtering incidentssimilar to
incident.io
A filter pattern for boards and lists with many categorical attributes. One "Filters and views" button opens a searchable list of fields; picking a field swaps the panel for a small editor (operator plus a multi-select), and Done turns the choice into a chip above the board. The data filters for real: columns lose cards, empty statuses fold into a single list, and the count updates as you go. The app around the board (sidebar, team banner, tabs and unrelated toolbar buttons) is a wireframe sketch where your own app goes.
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
Narrow a kanban board of incidents with one panel: pick a field, choose an operator and values, and the board collapses to the matching cards with the filter shown as an editable chip.
One entry point, two panels
The same popover first lists every filterable field, grouped and searchable, then becomes the editor for the field you picked. A back arrow returns to the list, so adding a filter never leaves the context of the board.
Operator first, then values
Each filter reads as a sentence: Severity · is one of · Critical, Major. The operator select keeps "is not one of" one click away, and the values are checkboxes with the same icons the cards use, so the list is recognisable at a glance.
Applied filters become chips
Once applied, the button gives way to chips that spell out the whole condition. Click a chip to reopen its editor with the current values, use the × to drop it, or Clear to reset. A live count next to the chips confirms the result before you scan the board.
The board shrinks instead of going blank
Statuses left without incidents collapse into one "Empty columns" list, so a narrow filter leaves a tight board rather than a row of empty lanes. When nothing matches at all, an empty state offers Clear filters.
Step by step
- 01
Team board
The team’s incidents in status columns, with a "Filters and views" button above them, inside a sketched app.
Filtering starts from the full picture: every open incident on the team, grouped by status, with nothing applied yet.
- 02
Pick a field
Search the fields, include declined or merged incidents, or pick a field to filter by.
A single searchable list scales to many attributes better than a row of dropdowns. The two switches cover the common "show me the hidden ones too" case without a full filter.
- 03
Choose values
Pick the operator and tick the values, here Critical and Major.
The editor opens with the option list already showing, so most filters take two clicks and Done. Ticked values appear as tokens that can be removed in place.
- 04
Filtered board
The board shows only matching incidents, with the filter as a chip and the count next to it.
The chip states the condition in words and stays editable. Columns without matches fold into "Empty columns", so the result is easy to scan.
Built with shadcn/ui and Radix UI
- Button
- Input
- Input Group
- Select
- Checkbox
- Switch
- Avatar
- Sonner
This is an original rebuild of the flow's structure, with its own brand, copy and artwork. incident.io is a trademark of its owner; this page is not affiliated with or endorsed by incident.io.
Frequently asked questions
Installing, adapting and theming this flow for Radix UI.
With a Pro plan, run npx shadcn@latest add @shadcnpro/flow-incident-io-filtering-incidents. The shadcn CLI copies the flow into components/flows/incident-io-filtering-incidents/ and adds the shadcn/ui components it uses. Base UI (@shadcnpro/base/flow-incident-io-filtering-incidents) and React Aria (@shadcnpro/aria/flow-incident-io-filtering-incidents) ship the same flow, with the same steps and copy.
No. It is an original rebuild of the structure of incident.io's filtering & sorting flow, written from scratch with shadcn/ui, with its own brand, copy and artwork. incident.io is a trademark of its owner, and this page is not affiliated with or endorsed by incident.io.
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/incident-io-filtering-incidents.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 preview filters an in-memory list of 22 incidents in the browser, so counts, empty columns and the empty state are real, but nothing is saved and saved views last until you reload. In a real app, keep the same filter shape, send it to your API as query parameters, and store saved views per user.
Button, Input, Input Group, Select, Checkbox, Switch, Avatar 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, the board scrolls sideways with fixed-width columns, and the panels shrink to the screen width; the saved-views column of the field picker is hidden on small screens.