Product Search 3 - Instant dropdown with recent and trendingPro
A search input with an instant results dropdown that shows recent and trending searches when empty and live product suggestions with prices as you type. Use it in a storefront header or hero where shoppers expect type-ahead search.
About Product Search 3
A search input with an instant results dropdown that shows recent and trending searches when empty and live product suggestions with prices as you type. Use it in a storefront header or hero where shoppers expect type-ahead search.
Product Search 3 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
- autocomplete
- dropdown
- recent
- trending
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/product-search-03Dependencies installed automatically: lucide-react, motion.
Uses: reveal, use-reduced-motion, utils.
Usage
import ProductSearch03 from "@/components/blocks/product-search-03"
export default function Page() {
return <ProductSearch03 />
}