Ballmac UI home

Pricing Pro 1: rolling prices with billing switchPRO

Three plans with a Monthly/Yearly switch where prices roll to the new number, a computed saving badge and a glowing featured plan.

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/pricing-pro-1
  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 { PricingPro1 } from "@/components/ballmac/blocks/pricing-pro-1/pricing-pro-1"

Dependencies

Use with AI

Pricing cards: plans[] with monthly and yearly per-month prices. Saving percent is computed from the plans; yearly total is shown under the price. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Pricing Pro 1: rolling prices with billing switch (@ballmac-pro/pricing-pro-1) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Subscription SaaS with monthly and yearly billing
  • Three-tier pricing pages

Not for

  • Usage-only pricing (use pricing-pro-3)

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

Covered by the Ballmac UI Pro license.