# Header & Mega Menu Kit

> A site header your agent builds from one nav.json and puts at the top of every page: the logo, plain links and mega menus, a sign-in link and one primary button. Each mega menu holds up to four groups of links, each link with a one-line description, and up to three preview cards whose pictures are drawn as SVG from a motif (fells, coast, viaduct, or diagrams for software), so no stock photos. The menus follow the WAI-ARIA disclosure pattern rather than role="menu": buttons with aria-expanded, one panel open at a time, Escape closes and returns the focus, a click outside or tabbing out closes, and on a mouse hovering opens after a short pause while a click always works. The header is sticky and condenses as the page scrolls using transforms only, so nothing on the page moves (the check measures a layout shift of zero), and it can also slide away on the way down and come back on the way up. Under a breakpoint the links move into a drawer that traps the focus, locks the page without a jump and opens its groups as accordions, with the current page marked by aria-current and its group open. Two styles laid out differently: foundry, a dense graphite header for developer tools with described links in columns and a rail of diagram cards, and atlas, a printed-guide masthead with the name in the middle and tall picture cards for travel, retail and culture. The build refuses too many items, empty menus, overlong labels, duplicate ids, unsafe links, two current pages and cards or buttons without links, and the check tests four widths and reduced motion for contrast, overflow, focus, every keyboard path, anchors and layout shift.

- Output: Web, Site header from nav.json · sticky header that condenses with no layout shift · mega menus with preview cards · mobile drawer · disclosure keyboard pattern · HTML, embed and React component
- Price: $4.99 one-time, or included in Pro
- Page: https://lookbk.dev/skills/header-nav-kit

## What you need

- Node.js 18 or newer. Nothing to install.
- Chrome, Chromium or Edge, for the check and the clip (the scripts find it; set `CHROME_PATH` if they don't).
- ffmpeg for the clip only (`brew install ffmpeg`, `winget install ffmpeg`, `apt install ffmpeg`; or set `FFMPEG_PATH`).
- Internet access when the page is opened, for the style's Google Fonts. Without them system fonts stand in.

## Install

```bash
curl -fsSL https://lookbk.dev/cli.js | node - add header-nav-kit
```

The first run prints a sign-in link; open it, approve, and run the command again. Pro skills install for accounts that bought them or have Pro.

Where it installs:

- Run by Claude Code: `~/.claude/skills/header-nav-kit` only, the one folder Claude Code reads.
- From your own terminal: `~/.agents/skills/header-nav-kit`, which Codex, Gemini CLI, Copilot CLI, Cursor and OpenCode read, and also `~/.claude/skills/header-nav-kit` when `~/.claude` exists.

Add `--claude` or `--shared` to write only one of those folders, or `--project` to install into the current folder instead. Start a new agent session afterwards so it picks up the skill.

Credits and licenses: NOTICE.md plus any LICENSE files inside the ZIP.

## Example request

> Use the Header & Mega Menu Kit to build our site header in the foundry style: our logo, a Platform mega menu with our three product groups and a card for the latest release, a Developers menu, Pricing and Changelog links, Sign in and Start free, a header that condenses on scroll and a drawer on phones. Give me the embed and the Next.js component.
