# Ecommerce Product List: Filter List

A product list paired with category, price, and attribute filters in a sidebar. Lets shoppers narrow large catalogs and find the right item fast.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/filter-list
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce), Free tier
- Group: [Product List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/filter-list.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-product-list-filter-list
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/ecommerce-product-list-filter-list.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, input, slider
- Installs to: `@/components/blocks/ecommerce/product-list/filter-list`

## About this block

Filter List pairs a persistent sidebar with a responsive product grid.
The sidebar holds five controls stacked top to bottom: a text search
input, a category toggle group (All, Accessories, Electronics, Sports),
a dual-handle price range slider with live dollar labels, a single-handle
minimum rating slider with a star indicator, and a feature toggle group
where each attribute can be selected independently. On smaller screens
the sidebar hides behind an "Filters" button in the toolbar above the
grid, sliding in as a full-screen overlay with a close button. The grid
itself shows a live count of matching products and lays out cards in up
to three columns, each card carrying a square product image, a name, a
category badge, a star rating with review count, current and original
prices, feature tags, and an "Add to Cart" button.

All five filter controls are independent and can be removed or reordered
without affecting the others. The product array, category list, and
feature list are plain data you can replace entirely. The result count
above the grid updates automatically from whatever data you supply.

## When to use

Reach for this block when your catalog is large enough that shoppers
need help narrowing it down before they can decide. It works well on a
dedicated browse or search results page for an AI assistant product
marketplace, where buyers want to filter plans or add-ons by category,
price tier, and capability flags before committing. Compared to the
[Grid List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/grid-list), which shows
everything at once, this layout keeps the full filter surface visible so
repeat visitors can refine quickly without hunting for controls.

A natural flow around it on an Ecommerce page:

**Before**

- [Category Filters](https://www.shadcn-ui-blocks.com/blocks/ecommerce/category-filters) to let shoppers
  land on a scoped view before the full filter panel appears
- [Category Preview](https://www.shadcn-ui-blocks.com/blocks/ecommerce/category-preview) for a visual
  entry point that sets context before the filterable list

**After**

- [Customer Reviews](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-customer-reviews) to
  reinforce purchase confidence after shoppers have narrowed their choice
- [Bundle Upsells](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-bundle-upsells) to surface
  complementary add-ons once a product catches interest

## What you can customize

The block adapts to almost any catalog shape by swapping the data and
the filter dimensions:

- **Filter dimensions.** Replace the category, feature, and price
  bounds with whatever attributes your products carry, such as plan tier,
  model size, or supported integrations.
- **Card content.** The card shows name, category badge, rating,
  prices, and feature tags. Remove or reorder those rows to match what
  your shoppers scan for first.
- **Grid density.** The grid runs one to three columns depending on
  viewport. Adjust the column breakpoints to give cards more breathing
  room if images need to be larger.

> Tip: keep the feature toggle list short. More than seven or eight
> options make the sidebar scroll and shoppers lose track of what they
> have selected.

## More in Ecommerce Product List

- [Compact List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/compact-list)
- [Comparison List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/comparison-list)
- [Featured List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/featured-list)
- [Gallery List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/gallery-list)
- [Grid List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/grid-list)
- [Masonry List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/masonry-list)
- [Table List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/table-list)
- [Timeline List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/timeline-list)
