Website kits › Haat › Search results

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.

Search results props

PropTypeDefaultDescription
darkboolean
photosRecord<string
querystringStart with this text in the search box.
categorystringStart inside one category.
autoplaybooleanType two searches once (store showcase).
seedboolean
onNavigate(page: string) => void

Methods on the ref

Use it in React

import HaatSearch from './HaatSearch';

<HaatSearch />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Haat

Good for: Multi-vendor marketplace, Pakistan, Pakistan e-commerce, Right-to-left (RTL).