# Application Filters and Search: Quick Filter Toggles

A rail of switch based quick filters above a task queue, a live result count with reset, the filtered list, and an inline empty row.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/quick-filter-toggles
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Filters and Search](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/quick-filter-toggles.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-filters-and-search-quick-filter-toggles
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button, label, switch
- Installs to: `@/components/blocks/application-pro/filters-and-search/quick-filter-toggles`

## About this block

Quick Filter Toggles is the switch rail above a task
queue: four boolean filters (Assigned to me, Unread only,
Has attachments, Overdue) that AND together, a My queue
heading with a Showing 6 of 6 tasks count, a Reset filters
control, and the live list below that shrinks with every
toggle. When nothing matches, an inline empty row invites
you to turn a filter off or reset them all.

Filter state is one record of four booleans; the list is a
single every() pass that keeps a task only when each active
filter is satisfied. The count line and the reset disabled
state both read from that same state, so the rail and the
results never drift apart.

## When to use

Reach for this block above any busy work queue where users
narrow by attribute rather than keyword, wired to your
tasks or inbox endpoint. Boolean switches suit filters that
are simply on or off; reach for a faceted bar when a
dimension has more than two values.

A natural flow around it on an Application Pro page:

**Before**

- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- [Navigation](https://www.shadcn-ui-blocks.com/blocks/application-pro/navigation)

**After**

- [Data table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables)
- [Empty states](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states)

## What you can display

One strong use is the personal task queue. Other
quick-filter rails:

- **Inbox filter.** Unread, flagged, and has attachment as
  the toggles.
- **Issue triage.** Assigned to me, unassigned, and overdue
  booleans.
- **Deploy list.** Failed only, my services, and needs
  approval switches.

> Tip: keep quick filters to four or fewer booleans; past
> that, a faceted panel reads more clearly than a long
> switch rail.

## More in Application Filters and Search

- [Advanced Filter Builder](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/advanced-filter-builder)
- [Applied Filters Summary](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/applied-filters-summary)
- [Column Filter Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/column-filter-blueprint)
- [Date Range Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/date-range-panel)
- [Faceted Filter Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/faceted-filter-bar)
- [Filter Chips Row](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/filter-chips-row)
- [Filter Funnel Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/filter-funnel-panel)
- [Find In View Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/find-in-view-bar)
- [Group By Selector](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/group-by-selector)
- [Grouped Results Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/grouped-results-blueprint)
- [Include Exclude Tags](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/include-exclude-tags)
- [Multi Facet Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/multi-facet-panel)
- [Multi Sort Builder](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/multi-sort-builder)
- [Query Language Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/query-language-bar)
- [Range Filter Histogram](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/range-filter-histogram)
- [Recent And Saved Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/recent-and-saved-blueprint)
- [Results Density Toggle](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/results-density-toggle)
- [Saved Filter Pills](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/saved-filter-pills)
- [Saved Searches Manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/saved-searches-manager)
- [Saved Views Tabs](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/saved-views-tabs)
- [Scope Selector Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/scope-selector-bar)
- [Search Preview Pane](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/search-preview-pane)
- [Search Results Highlights](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/search-results-highlights)
- [Search With Recent](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/search-with-recent)
- [Sort Density Toolbar](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/sort-density-toolbar)
- [Sort Menu Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/sort-menu-blueprint)
- [View Changes Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/view-changes-bar)
- [Zero Results Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/zero-results-panel)
