Hero Search
5 production-ready hero search patterns for travel booking, directories, real estate, job boards, and documentation portals.
5 Hero Search Patterns
Click any pattern to jump to its interactive preview and copyable markup. Every date field uses Flatpickr and adapts to light/dark mode.
1. Travel & Booking Bar (Panagea-style)
Full-bleed scenic backdrop with dark scrim, centered typography, and a unified bar combining destination, Flatpickr date range, and a live guests stepper popover.
Book unique places to stay & explore
Discover boutique hotels, local tours, and hidden restaurants across 120+ destinations worldwide.
<form class="rounded-xl border border-border bg-card p-2 shadow-lg">
<div class="grid grid-cols-1 md:grid-cols-12 md:divide-x divide-border">
<input name="destination" placeholder="Kyoto, Lisbon…" class="md:col-span-4 px-3.5 py-2.5 bg-transparent">
<input name="dates" data-datepicker='{"mode":"range","minDate":"today"}' class="md:col-span-4 px-3.5 py-2.5 bg-transparent">
<div data-guest-picker class="relative md:col-span-2 px-3.5 py-2.5">…</div>
<button type="submit" class="kt-btn kt-btn-primary md:col-span-2">Search</button>
</div>
</form>
2. Tabbed Multi-Category Search
Category pills attached above the search bar swap fields in place for Hotels, Guided Tours, and Restaurants.
Plan your entire trip in one search
Switch between stays, local experiences, and dining reservations without leaving the page.
<div data-hero-tabs>
<div role="tablist">
<button data-hero-tab="hotels" aria-selected="true">Hotels</button>
<button data-hero-tab="tours" aria-selected="false">Tours</button>
</div>
<form data-hero-panel="hotels">…</form>
<form data-hero-panel="tours" class="hidden">…</form>
</div>
3. Real Estate & Directory Split Hero
Minimal two-column layout pairing a structured Buy / Rent / Commercial search card with a featured property visual.
Find a home that fits the way you live
Filter verified apartments, villas, and commercial spaces with transparent pricing and neighborhood insights.
<section class="grid items-center gap-8 rounded-2xl border border-border bg-background/60 p-8 lg:grid-cols-12">
<div class="lg:col-span-7">
<!-- Buy / Rent segmented toggle + 3-field search card -->
</div>
<div class="lg:col-span-5">
<!-- Featured listing card -->
</div>
</section>
4. Job Board & Marketplace Pill Hero
Clean minimal surface (bg-grid) with a rounded pill omnibox and clickable trending filter chips.
Discover your next remote product role
Search curated engineering, design, and product openings from transparent teams worldwide.
<form class="flex flex-col sm:flex-row sm:items-center gap-2 rounded-2xl sm:rounded-full border border-border bg-card p-2">
<input id="hero_job_query" placeholder="Job title, skill, or company" class="grow bg-transparent px-3.5 py-2">
<input placeholder="Remote or city" class="sm:w-52 bg-transparent px-3.5 py-2">
<button type="submit" class="kt-btn kt-btn-primary sm:rounded-full px-6">Search Jobs</button>
</form>
5. Docs & Helpdesk Instant Search
Compact knowledge-base hero with live client-side suggestion filtering and quick-start topic links.
How can we help you today?
Type to filter guides, UI components, and CLI references instantaneously.
<div class="relative mx-auto max-w-xl" data-hero-instant>
<form class="flex items-center gap-2 rounded-xl border border-border bg-card px-3.5 py-2">
<i class="ti ti-search text-lg text-muted-foreground"></i>
<input data-instant-input placeholder="Search docs…" class="w-full bg-transparent text-sm">
<kbd class="rounded border border-border bg-muted px-2 py-0.5 text-[11px]">⌘K</kbd>
</form>
<div data-instant-results class="hidden absolute inset-x-0 top-full mt-2 rounded-xl border border-border bg-card shadow-lg"></div>
</div>