Headers
The 8 most-used frontend and web-app header patterns — ready to copy for SaaS, e-commerce, editorial, portfolio, hospitality, and dashboard projects.
Live Backend Header Layouts (3 Styles)
Click any style below to transform the live admin header on this page right now (persisted via data-header-layout).
Most-Used Header Patterns
Click any pattern to jump directly to its live preview and copyable HTML.
1. SaaS / Marketing Landing Header
The universal SaaS bar: brand mark on the left, clean product navigation with dropdown in the center, and Sign In + Primary CTA on the right.
<header class="flex items-center justify-between gap-4 border-b border-border bg-card px-6 h-16">
<a href="/" class="flex items-center gap-2.5 font-bold text-heading">Kova</a>
<nav class="hidden md:flex items-center gap-1">
<a href="#features" class="rounded-lg px-3 py-2 text-sm font-medium">Features</a>
<a href="#pricing" class="rounded-lg px-3 py-2 text-sm font-medium">Pricing</a>
</nav>
<div class="flex items-center gap-2">
<a href="auth-signin.html" class="kt-btn kt-btn-sm kt-btn-ghost">Log in</a>
<a href="auth-signup.html" class="kt-btn kt-btn-sm kt-btn-primary rounded-full px-4">Start Free Trial</a>
</div>
</header>
2. Floating Glass Pill Header
Popularized by modern AI & developer-tool sites: centered translucent pill floating over hero gradients with backdrop blur.
<header class="sticky top-4 z-30 mx-auto flex max-w-4xl items-center justify-between rounded-full border border-border/70 bg-card/85 px-5 h-14 shadow-md backdrop-blur-md">
…
</header>
3. E-Commerce Two-Row Storefront Header
Announcement strip + prominent product search bar, wishlist, cart counter badge, and category bar. See live demo on Hardware Store.
<div class="bg-primary px-6 py-1.5 text-xs text-primary-foreground">Free shipping over $75</div>
<div class="flex items-center gap-5 px-6 py-3.5 border-b border-border">
<!-- Logo + Search Input Group + Wishlist / Cart Badge / Account -->
</div>
<nav class="flex items-center gap-1 px-6 py-2 text-xs font-medium">…</nav>
4. Editorial / Magazine Masthead Header
Classic publication hierarchy: edition date on the left, serif masthead centered, Subscribe button on the right, and horizontal section tabs below. See Newspaper.
<div class="grid grid-cols-3 items-center px-6 py-4 border-b border-border">
<div class="text-xs text-muted-foreground">Friday, Nov 27</div>
<div class="text-center font-serif text-2xl font-black text-heading">The Kova Daily</div>
<div class="flex justify-end gap-2">…</div>
</div>
5. Minimal Portfolio / Agency
Clean wordmark, live availability indicator, and understated links. See Dev Portfolio.
<header class="flex items-center justify-between px-5 h-14 border-b border-border">
<span class="font-mono text-sm font-bold text-heading">alex.dev</span>
<nav class="flex items-center gap-4 text-xs font-medium">…</nav>
</header>
6. Centered Split Logo (Hospitality)
Symmetrical navigation flanking a centered brand emblem. Ideal for restaurants, hotels, and boutique retail. See Restaurant.
<header class="grid grid-cols-3 items-center px-5 h-14 border-b border-border">
<nav>Menu · Story</nav>
<a class="text-center font-bold">KITCHEN</a>
<div class="flex justify-end">Reserve</div>
</header>
7. Horizontal SaaS App Header (No Sidebar)
Multi-tenant app pattern (Vercel / Stripe / Linear style): workspace switcher, primary nav tabs, ⌘K search, quick create, and avatar.
<div class="flex items-center justify-between px-6 h-14 border-b border-border">
<!-- Brand / Workspace Switcher Dropdown + ⌘K Search + New CTA + Avatar -->
</div>
<nav class="flex items-center gap-5 px-6 text-xs font-medium">…</nav>
8. Dark / Brand Contrast Header
Always-dark top bar for developer docs, enterprise portals, and high-contrast brand headers. Also available globally via Theme Settings → Header → Dark bar.
<header class="flex items-center justify-between gap-4 px-6 h-16 bg-[#28243D] text-[#E7E3FC]">
<!-- Logo + Version Pill + White/75 Nav Links + Translucent Search + Light CTA -->
</header>