Ballmac UI home

Hero Pro 7: audience switcherPRO

A segmented switch changes the headline, bullet points, call to action and picture for each audience, so one page speaks to teams, developers and founders.

Installation

  1. 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.local
    BALLMAC_LICENSE_KEY=your-licence-key
  2. Add it.

    $ pnpm dlx shadcn@latest add @ballmac-pro/hero-pro-7
  3. Need a licence or help with setup?

    The source is part of Ballmac UI Pro.

    Log in with your licence key to read and copy it here, or install it through the shadcn CLI or the MCP server. You own the code once it is in your project.

Usage

import { HeroPro7 } from "@/components/ballmac/blocks/hero-pro-7/hero-pro-7"

Dependencies

Use with AI

A radio-group segmented control with animated content swap. Each audience brings its own headline, points, action and optional image. Controlled by audiences[] and defaultAudience. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Hero Pro 7: audience switcher (@ballmac-pro/hero-pro-7) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Products with several distinct buyers
  • Pages that would otherwise need three landing pages

Not for

  • Single-audience products

Registry JSON (needs your licence key): https://ui.ballmac.com/r/pro/hero-pro-7.json

Covered by the Ballmac UI Pro license.