Back to blocks

What is this?
A floating pill header with glass blur, meant to sit over a hero. Swap brand, menu, CTA, and color, then drop it onto a landing page or portfolio.
Full TSX source. No account needed.
floating-pill-header.tsx
"use client"; import type { ReactNode } from "react";import { isValidElement } from "react";import { isActionLinkDescriptor } from "@/generation/lib/coerceActionNodes";import { cn } from "@/lib/utils"; export type FloatingPillNavItem = {Read the guide
BlockPass
Floating Pill Header
A floating pill header with glass blur, meant to sit over a hero. Swap brand, menu, CTA, and color, then drop it onto a landing page or portfolio.
Checking access…
Live PreviewVerified Technical Spec
- Animation
- CSS / Tailwind
- Reduced motion
- Standard motion
- Keyboard focus
- Not detected in source
- Compatibility
- Tailwind CSS v3.4 + v4 · React 19 / Next.js 15 App Router + Vite / Remix compatible
Included
- Copy source into Cursor or Claude for agent install
- Responsive on phone, tablet, and desktop
- Finished React · TypeScript · Tailwind CSS UI
Dependencies
- React 19.0.0
- Typescript 5.7.2
- Tailwindcss 3.4.16
Tech Stack
- React
- TypeScript
- Tailwind CSS
Version 1.0.0



