Component

Floating Navbar — Startup Landing

Startup Landing navbar: Floating capsule nav.

  • Component
  • Tailwind
  • HTML
  • MIT

Preview

Live component

Interactive preview
Open preview
9:41 100%
devsnips.dev/library/tailwind/components/navbar/startup-landing/
fluid · no fixed width 100%
Dependencies: Tailwind CSS (CDN) · Google Fonts Responsive

Install

Add to your project

terminal
npx devsnips add Tailwind/Components/Navbar/startup-landing
registry path: Tailwind/Components/Navbar/startup-landing

Source

Implementation

code.html
<!--
Snippet Name: Floating Navbar — Startup Landing
Description: Startup Landing navbar: Floating capsule nav.
Author: DevSnips Contributors
Usage Example: Drop this snippet into any Tailwind CSS page.
-->
<header class="relative w-full text-slate-900" data-navbar="startup-landing">
<div class="mx-auto max-w-7xl px-5 sm:px-6 lg:px-8">
<div class="absolute left-1/2 top-4 z-40 w-[min(960px,92%)] -translate-x-1/2 bg-white border border-slate-200 rounded-2xl shadow-[0_2px_12px_-4px_rgba(15,23,42,.08)]"><nav class="flex h-14 items-center justify-between px-4"><span class="inline-flex items-center gap-2 h-7" style="color:currentColor"><svg viewBox="0 0 24 24" fill="none" class="h-full w-auto" aria-hidden="true"><path d="M12 2 2 19h20L12 2z" fill="currentColor"/></svg><span class="font-semibold tracking-tight">Flowbase</span></span><div class="hidden md:flex items-center"><a href="#" class="text-sm font-medium text-slate-500 px-3 py-2 rounded-md hover:opacity-100">Product</a><a href="#" class="text-sm font-medium text-slate-500 px-3 py-2 rounded-md hover:opacity-100">Pricing</a><a href="#" class="text-sm font-medium text-slate-500 px-3 py-2 rounded-md hover:opacity-100">Docs</a><a href="#" class="text-sm font-medium text-slate-500 px-3 py-2 rounded-md hover:opacity-100">Changelog</a></div><div class="flex items-center gap-2"><a href="#" class="text-sm font-medium text-slate-500 px-3 py-2">Sign in</a><a href="#" class="bg-indigo-600 text-white rounded-xl font-semibold hover:bg-indigo-700 shadow-lg shadow-indigo-600/20 px-4 py-2 text-sm">Start free <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></a></div><button type="button" class="md:hidden bg-slate-50 border border-slate-200 rounded-xl p-2" aria-label="Menu"><svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M4 12h16M4 6h16M4 18h16"/></svg></button></nav></div><div class="h-16" aria-hidden="true"></div>
</div>
</header>
11 lines UTF-8 · LF · Spaces: 2

AI-ready

Available to your agent.

This component is reachable through the DevSnips CLI, MCP server and Skills integrations — one registry, one resource path.

Resource path

devsnips://components/navbar/startup-landing

Continue browsing

View all