Website kits › Haat › Search results
Type and every facet recounts live, in English, Roman Urdu or Urdu, with matches marked.
Search results is a search page from Haat, a website kit with 5 pages: A working multi-seller marketplace for Pakistan: compare sellers, live facet search, a bag split by seller, Urdu and English. Price: $5 for the whole pack.
Built with: live facet counts, search as you type, FLIP grid.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
photos | Record<string | ||
query | string | Start with this text in the search box. | |
category | string | Start inside one category. | |
autoplay | boolean | Type two searches once (store showcase). | |
seed | boolean | ||
onNavigate | (page: string) => void |
search(q: string): voiddestroy(): voidimport HaatSearch from './HaatSearch';
<HaatSearch />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Multi-vendor marketplace, Pakistan, Pakistan e-commerce, Right-to-left (RTL).