Back to blocks
BlockeCommerceFree

Product Filters Sidebar React component

A collection page with a filter sidebar: collapsible groups for category with live counts, a dual-handle price range over a price histogram, color swatches, minimum rating, in-stock and on-sale switches, removable active-filter chips, sorting, a result count and a grid that updates instantly (a toggle panel on phones).

About the Product Filters Sidebar component

Product Filters Sidebar is a complete collection page: filters on the left, results on the right, and everything updates the moment a box is ticked or a handle is dragged. Counts next to each category reflect the other filters, so people never pick an option that leads to nothing.

The price filter shows where products cluster with a small histogram, active filters appear as chips that are easy to remove one by one, and on phones the whole sidebar folds behind a single Filters button.

When to use it

Use it for collection and category pages, search results, or any catalog with more than a dozen products.

For a horizontal bar of filter dropdowns use the Horizontal Filter Bar; for a full-screen phone sheet use the Mobile Filter Modal.

Installation

Add the Product Filters Sidebar component to your project with the shadcn CLI. It lands in components/product-filters-sidebar.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/product-filters-sidebar

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Coupon Code Block
Free
Mini Cart Drawer
Free
Order Bump Block
Free
Product Carousel Block
Free
Free Shipping Progress Bar
Free
Gift Card Block
Free