Simple Navbar
A logo, an inline link row and a CTA, collapsing to a hamburger menu below the md breakpoint.
6 फ्रेमवर्कमध्यम
A thin utility strip over the main bar; the strip folds into the drawer on mobile.
<!--
A utility strip over the main bar. The thin top row carries low-priority links
(support, contact) and is hidden below md; on a phone those same links live at
the foot of the hamburger panel, so nothing is lost, it just relocates.
-->
<header class="border-b border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900">
<div class="hidden border-b border-gray-200 bg-gray-50 md:block dark:border-gray-800 dark:bg-gray-950">
<div class="mx-auto flex h-9 max-w-6xl items-center justify-end gap-4 px-4">
<a href="/support" class="text-xs font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-50">Support</a>
<a href="/contact" class="text-xs font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-50">Contact</a>
<a href="/login" class="text-xs font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-50">Sign in</a>
</div>
</div>
<div class="mx-auto flex h-14 max-w-6xl items-center gap-4 px-4">
<a href="/" class="mr-auto text-base font-bold text-gray-900 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-600 dark:text-gray-50 dark:focus-visible:ring-blue-400">Adysre</a>
<nav class="hidden items-center gap-1 md:flex" aria-label="Main">
<a href="/product" class="rounded-md px-3 py-1.5 text-sm font-medium text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-300 dark:hover:bg-gray-800 dark:hover:text-gray-50">Product</a>
<a href="/pricing" class="rounded-md px-3 py-1.5 text-sm font-medium text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-300 dark:hover:bg-gray-800 dark:hover:text-gray-50">Pricing</a>
<a href="/docs" class="rounded-md px-3 py-1.5 text-sm font-medium text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-300 dark:hover:bg-gray-800 dark:hover:text-gray-50">Docs</a>
</nav>
<a href="/signup" class="hidden rounded-lg bg-blue-600 px-3.5 py-1.5 text-sm font-semibold text-white hover:bg-blue-700 md:block">Get started</a>
<button
type="button"
aria-expanded="false"
aria-controls="nav-dd-menu"
aria-label="Open main menu"
class="inline-flex h-9 w-9 items-center justify-center rounded-md text-gray-700 hover:bg-gray-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-600 md:hidden dark:text-gray-300 dark:hover:bg-gray-800 dark:focus-visible:ring-blue-400"
>
<svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true" focusable="false"><path d="M4 6h16M4 12h16M4 18h16" /></svg>
</button>
</div>
<div id="nav-dd-menu" hidden class="border-t border-gray-200 px-4 pb-4 pt-2 md:hidden dark:border-gray-800">
<nav class="flex flex-col gap-1" aria-label="Main">
<a href="/product" class="rounded-md px-3 py-2 text-sm font-medium text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-800">Product</a>
<a href="/pricing" class="rounded-md px-3 py-2 text-sm font-medium text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-800">Pricing</a>
<a href="/docs" class="rounded-md px-3 py-2 text-sm font-medium text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-800">Docs</a>
</nav>
<div class="mt-2 flex flex-col gap-1 border-t border-gray-200 pt-2 dark:border-gray-800">
<a href="/support" class="rounded-md px-3 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-800">Support</a>
<a href="/contact" class="rounded-md px-3 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-800">Contact</a>
<a href="/signup" class="mt-1 rounded-lg bg-blue-600 px-3 py-2 text-center text-sm font-semibold text-white hover:bg-blue-700">Get started</a>
</div>
</div>
</header>| Prop | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
ctaLabel | string | 'Get started' | कॉल-टू-एक्शन बटन का टेक्स्ट। |
ctaHref | string | '/signup' | कॉल-टू-एक्शन लिंक का डेस्टिनेशन। |
className | string | - | रूट एलिमेंट पर मर्ज होने वाली अतिरिक्त क्लासेज़। |
The top strip carries low-priority links (support, contact, sign in) and is hidden below `md` - but rather than dropping them, the mobile hamburger reappends those same links at the foot of its panel, so nothing is lost, it just relocates. Keep the strip to genuinely secondary destinations; anything essential belongs in the main row.