# Card Flight Header

> 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.

- Author: [Kedhareswer Naidu](https://21st.dev/@kedhareswer)
- License: mit
- Tags: Animation, Menu, Navbar, Interactive
- Live preview: https://21st.dev/@kedhareswer/components/card-flight-header

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/kedhareswer/card-flight-header?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/animation.md
