Filter Builder
- from @hirael
A Linear-style filter bar for lists and tables: pick a field, then an option, and get a chip with an operator menu and a value editor. Handles options, multi-select, text, number ranges and date ranges, keeps every filter in one array you can save to the URL, and ships applyFilters for client-side lists.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @hirael/filter-builderLive preview
No live preview has been built for this component yet.
Registry dependencies7
- button
- calendar
- command
- dropdown-menu
- input
- popover
- use-controllable-state
