Header Pro 1: mega menu navigationPRO
A top bar with menus that open full-width panels of grouped links and a feature card, with hover, click and arrow-key support, and a disclosure menu on phones.
Installation
Once per project: add the Pro registry and your licence key.
components.json{ "registries": { "@ballmac": "https://ui.ballmac.com/r/{name}.json", "@ballmac-pro": { "url": "https://ui.ballmac.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${BALLMAC_LICENSE_KEY}" } } } }.env.localBALLMAC_LICENSE_KEY=your-licence-keyAdd it.
$ pnpm dlx shadcn@latest add @ballmac-pro/header-pro-1Need a licence or help with setup?
Usage
import { HeaderPro1 } from "@/components/ballmac/blocks/header-pro-1/header-pro-1"Dependencies
- npm
- lucide-react
- Registry
- @ballmac/buttonshadcn/utils
Use with AI
Navigation with disclosure panels (not an ARIA menu). Escape closes and returns focus, arrow keys move between top items and ArrowDown enters the panel. With the shadcn MCP server set up (guide), ask your agent:
Add the Ballmac UI Header Pro 1: mega menu navigation (@ballmac-pro/header-pro-1) to this project with the shadcn MCP, then use it where it fits.
Use it for
- Product sites with many pages
Not for
- Sites with five links or fewer (use header-pro-2)
Registry JSON (needs your licence key): https://ui.ballmac.com/r/pro/header-pro-1.json
Covered by the Ballmac UI Pro license.
More header blocks
Header 1: sticky with mobile menu
Sticky site header with brand, main links, sign-in and primary action, and an accessible mobile menu that closes on Escape or link tap.
Header 2: mega menu with mobile sheet
Sticky header with brand, a mega menu of grouped links and a featured card, sign-in and primary actions. On phones the same links open in a slide-in sheet with accordions.
Header Pro 2: floating pill with announcement
A dismissible announcement bar above a floating pill header that shrinks as you scroll, with a moving highlight behind the hovered link and a phone menu.