Ballmac UI home

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.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/header-1

Usage

Example: header-1-demo.tsx
import { Header1 } from "@/components/ballmac/blocks/header-1/header-1"

export default function Header1Demo() {
  return <Header1 />
}

Dependencies

Use with AI

The top navigation bar for a marketing site. Pass links and the two actions; it handles the mobile menu. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Header 1: sticky with mobile menu (@ballmac/header-1) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Marketing sites and landing pages
  • Docs sites with a few top-level sections

Not for

  • Apps with deep navigation (use a sidebar)

Registry JSON: https://ui.ballmac.com/r/header-1.json

Free to use in personal and commercial projects.