Product Search 4 - Sort, result count and filter chipsPro

A search results header with facet dropdowns, a sort select, a live result count and removable active filter chips above a product grid. Use it when shoppers refine a query across several facets and need to see and undo what is applied.

About Product Search 4

A search results header with facet dropdowns, a sort select, a live result count and removable active filter chips above a product grid. Use it when shoppers refine a query across several facets and need to see and undo what is applied.

Product Search 4 is a pro product search block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 144 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • ecommerce
  • search
  • sort
  • chips
  • facets
  • dropdown

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/product-search-04

Dependencies installed automatically: lucide-react, motion.

Uses: button, dropdown-menu, reveal, select, use-reduced-motion, utils.

Usage

import ProductSearch04 from "@/components/blocks/product-search-04"

export default function Page() {
  return <ProductSearch04 />
}

FAQ