VibeCoderzVibeCoderz
Telegram
All Prompts
Responsive Tailwind Navbar with Mobile Toggle & CTA preview
navbarnavigationtailwindresponsivemobile-menuheaderctalucideinteractive

Responsive Tailwind Navbar with Mobile Toggle & CTA

Адаптивная Tailwind Navbar с кнопкой-гамбургером для мобильных устройств и CTA. Идеальна для шапки сайта, обеспечивая отзывчивую навигацию.

Prompt

<nav class="relative z-10 edit-mode-selected max-w-5xl w-full" id="aura-emersdja9">
        <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
          <div class="flex h-16 items-center justify-between">
            <!-- Brand -->
            <a href="#" class="flex items-center gap-2">
              <span class="inline-flex h-8 w-8 items-center justify-center rounded-md bg-white/10 ring-1 ring-white/15 backdrop-blur">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="compass" class="lucide lucide-compass h-4 w-4 text-white/90"><path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z"></path><circle cx="12" cy="12" r="10"></circle></svg>
              </span>
              <span class="uppercase text-lg font-semibold tracking-tighter font-bricolage">NomadIQ</span>
            </a>

            <!-- Desktop Nav -->
            <div class="hidden md:flex items-center gap-2">
              <a href="#" class="px-3 py-1.5 rounded-full bg-white/5 ring-1 ring-white/15 text-sm font-medium text-white/90 hover:bg-white/10 transition font-geist">Discover</a>
              <a href="#" class="px-3 py-1.5 rounded-full bg-white/5 ring-1 ring-white/15 text-sm font-medium text-white/70 hover:text-white/90 hover:bg-white/10 transition font-geist">Toolkit</a>
              <a href="#" class="px-3 py-1.5 rounded-full bg-white/5 ring-1 ring-white/15 text-sm font-medium text-white/70 hover:text-white/90 hover:bg-white/10 transition font-geist">Journal</a>
              <a href="#" class="px-3 py-1.5 rounded-full bg-white/5 ring-1 ring-white/15 text-sm font-medium text-white/70 hover:text-white/90 hover:bg-white/10 transition font-geist">Library</a>
            </div>

            <!-- Actions -->
            <div class="hidden md:flex items-center gap-3">
              <a href="#" class="text-sm font-medium text-white/80 hover:text-white transition font-geist">Sign in</a>
              <a href="#" class="inline-flex items-center gap-2 rounded-full bg-white text-gray-900 px-4 py-2 text-sm font-semibold hover:bg-white/90 transition font-geist">
                
                Get started
              </a>
            </div>

            <!-- Mobile menu button -->
            <button id="menuBtn" class="md:hidden inline-flex h-9 w-9 items-center justify-center rounded-md bg-white/10 ring-1 ring-white/15 hover:bg-white/15 transition" aria-label="Open menu">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="menu" class="lucide lucide-menu h-5 w-5 text-white/90"><path d="M4 12h16"></path><path d="M4 18h16"></path><path d="M4 6h16"></path></svg>
            </button>
          </div>

          <!-- Mobile Nav Panel -->
          <div id="mobileNav" class="md:hidden hidden border-t border-white/10 mt-2 pt-2 pb-3">
            <div class="grid gap-2">
              <a href="#" class="px-3 py-2 rounded-lg bg-white/5 ring-1 ring-white/10 text-sm font-medium text-white/90 font-geist">Discover</a>
              <a href="#" class="px-3 py-2 rounded-lg bg-white/5 ring-1 ring-white/10 text-sm font-medium text-white/80 font-geist">Toolkit</a>
              <a href="#" class="px-3 py-2 rounded-lg bg-white/5 ring-1 ring-white/10 text-sm font-medium text-white/80 font-geist">Journal</a>
              <a href="#" class="px-3 py-2 rounded-lg bg-white/5 ring-1 ring-white/10 text-sm font-medium text-white/80 font-geist">Library</a>
              <div class="flex items-center justify-between gap-2 pt-2">
                <a href="#" class="text-sm font-medium text-white/80 font-geist">Sign in</a>
                <a href="#" class="inline-flex items-center gap-2 rounded-full bg-white text-gray-900 px-4 py-2 text-sm font-semibold hover:bg-white/90 transition font-geist">
                  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="sparkles" class="lucide lucide-sparkles h-4 w-4"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z"></path><path d="M20 2v4"></path><path d="M22 4h-4"></path><circle cx="4" cy="20" r="2"></circle></svg>
                  Get started
                </a>
              </div>
            </div>
          </div>
        </div>
      </nav>
All Prompts