Kedhareswer Naidu

Card Flight Header

Component

About

A floating pill nav whose menus open as cards that fly out of the nav item. Hover or focus an item and it turns into a black pill, a pale wash wipes down behind the nav, and pastel link cards leave the pill as small ghosts, arc over the nav and land in a row with art, an arrow button, a title and a line. Moving to another item re-launches its own cards. Escape, a second click or leaving the header closes it. Keyboard friendly, honours reduced motion.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Card Flight Header to your project and fits it to your theme.

Code

How Card Flight Header is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import CardFlightHeader from "@/components/ui/card-flight-header"

export default function CardFlightHeaderDemo() {
  return (
    <div style={{ width: "100%", minHeight: "100svh", background: "#0c0d11" }}>
      <CardFlightHeader autoPlay panelHeight="calc(100svh - 46px)" />
    </div>
  )
}

More by Kedhareswer Naidu

View all
  • Glassmorphism Folder Cards

    Glassmorphism Folder Cards

    5.7K
  • Halftone Wordmark Footer

    Halftone Wordmark Footer

    2.3K
  • GitHub Contribution Graph 3D Heatmap

    GitHub Contribution Graph 3D Heatmap

    2.1K
  • Food Menu Scroll Carousel

    Food Menu Scroll Carousel

    2K
  • Morph Gallery

    Morph Gallery

    2K
  • Animated Features Bento with Live Diagrams

    Animated Features Bento with Live Diagrams

    1.4K
  • Hanging Polaroid Image Carousel

    Hanging Polaroid Image Carousel

    1.3K
  • Sneaker Product Page Hero

    Sneaker Product Page Hero

    1K