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>
)
}








