Component

Sticky Navbar — Vercel / Linear

Vercel / Linear navbar: Sticky positioning.

  • Component
  • Tailwind
  • HTML
  • MIT

What it does

Capabilities

  • Sticky positioning
  • Surface-backed bar
  • Z-30 stacking
  • CTA actions
  • Mobile menu

Preview

Live component

Interactive preview
Open preview
9:41 100%
devsnips.site/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
DevSnips AI ready Claude · Cursor · Windsurf

Agent skill & Model Context Protocol

Pass this component straight into your AI workflow. DevSnips exposes each resource as a structured, addressable registry entry, so your agent installs the real files instead of approximating them.

devsnips://components/navbar/vercel
Prompt instruction
I want to use this DevSnips resource in production:

Page:
https://devsnips.site/library/tailwind/components/navbar/vercel/

Install: npx devsnips add
Tailwind/Components/Navbar/vercel

This is the Sticky Navbar — Vercel / Linear — Vercel / Linear navbar: Sticky positioning.

Use this DevSnips resource as the starting point for my project.
Adapt it to my project's stack and conventions, fix any issues,
and make it production-ready while preserving its intended design
and behavior.

Paste into ChatGPT, Claude or your agent — it already carries the page URL and the exact install path.

Resource URI
devsnips://components/navbar/vercel