Filter Sheet
- from @ecomcn
- by ecomcn <hello@ecomcn.dev>
The filter panel in a slide-over for small screens. Changes are staged and applied once — on Show or on close — with a live result count on the button and focus returned to the trigger. Accepts the same FilterPanel parts as children, so a custom layout stages too.
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 @ecomcn/filter-sheetRegistry dependencies3
- button
- sheet
- @ecomcn/filter-panel
