Component
Floating Navbar — Startup Landing
Startup Landing navbar: Floating capsule nav.
- Component
- Tailwind
- HTML
- MIT
Preview
Live component
9:41 100%
devsnips.dev/library/tailwind/components/navbar/startup-landing/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Navbar/startup-landing Tailwind/Components/Navbar/startup-landing <!--
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> # Floating Navbar — Startup Landing
> Startup Landing navbar: Floating capsule nav.

## Features
- floating capsule nav
- absolute positioning
- z-40 stacking
- centered links
- spacer block
## Responsive support
- Mobile-first layout
- Breakpoints: `sm` (640px), `md` (768px), `lg` (1024px)
- Stacks gracefully on small screens, expands on large viewports
## Browser support
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
## Usage
1. Copy the markup from `code.html` into your Tailwind CSS project.
2. Include the corresponding Google Fonts in your document `<head>` if the style requires them.
3. The snippet is self-contained and copy-paste ready — no build step or JavaScript required.
## Design language
**Startup Landing** — part of the DevSnips Tailwind Sections library. Every section is
original, accessible, and production-ready.
## Files
- `preview.html` — full standalone preview page (Tailwind CDN + fonts)
- `code.html` — copy-paste snippet only (no `<head>` / CDN)
- `metadata.json` — structured metadata
- `README.md` — this file 11 lines UTF-8 · LF · Spaces: 2
Continue browsing