Component

Sticky Navbar — Vercel / Linear

Vercel / Linear navbar: Sticky positioning.

  • Component
  • Tailwind
  • HTML
  • MIT

Preview

Live component

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

Install

Add to your project

terminal
npx devsnips add Tailwind/Components/Navbar/vercel
registry path: Tailwind/Components/Navbar/vercel

Source

Implementation

code.html
<!--
Snippet Name: Sticky Navbar — Vercel / Linear
Description: Vercel / Linear navbar: Sticky positioning.
Author: DevSnips Contributors
Usage Example: Drop this snippet into any Tailwind CSS page.
-->
<header class="relative w-full text-white" data-navbar="vercel">
<div class="mx-auto max-w-7xl px-5 sm:px-6 lg:px-8">
<nav class="sticky top-0 z-30 flex h-16 items-center justify-between bg-white/[0.03] border border-white/10 rounded-lg px-4 -mx-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-white/50 px-3 py-2 rounded-md hover:opacity-100">Product</a><a href="#" class="text-sm font-medium text-white/50 px-3 py-2 rounded-md hover:opacity-100">Pricing</a><a href="#" class="text-sm font-medium text-white/50 px-3 py-2 rounded-md hover:opacity-100">Docs</a><a href="#" class="text-sm font-medium text-white/50 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-white/50 px-3 py-2">Sign in</a><a href="#" class="bg-white text-black rounded-lg font-medium hover:bg-white/90 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-white/[0.03] border border-white/10 rounded-lg 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>
</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/vercel

Continue browsing

View all