Component packs › Seek › Facet Filters

Facet Filters

Every option shows how many results it would leave, and those counts roll as you filter while the grid re-flows on springs.

Facet Filters is a faceted search from Seek, a component pack with 8 components: Search and command palette components that show exactly what matched. Price: free.

Built with: live counts, range slider, spring grid.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Install with the shadcn CLI: npx shadcn@latest add https://motionmart.store/r/facet-filters.json

Facet Filters props

PropTypeDefaultDescription
itemsFacetItem[]
onChange(results: FacetItem[]) => void
theme'dark' | 'light'
autoplaybooleanShowcase mode: ticks filters and moves the range until touched.

Methods on the ref

Use it in React

import FacetFilters from './FacetFilters';

<FacetFilters />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Seek

Good for: Search and command palette.