Ballmac UI home

Pricing 2: three tiers with billing toggle

Three plan cards with a monthly/yearly switch. Prices roll to the new value, a savings badge and billed-total line update, and the middle plan is lifted with a border beam.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/pricing-2

Usage

Example: pricing-2-demo.tsx
import { Pricing2 } from "@/components/ballmac/blocks/pricing-2/pricing-2"

export default function Pricing2Demo() {
  return <Pricing2 />
}

Dependencies

Use with AI

Standard SaaS pricing with a billing toggle. Pass plans=[{ name, description, price: { monthly, yearly } | string, unit?, lead?, features, cta, featured? }]. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Pricing 2: three tiers with billing toggle (@ballmac/pricing-2) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • SaaS products with three plans
  • Products that discount annual billing

Not for

  • Two plans only (use pricing-1)
  • Usage-based pricing (use plan-selector or a calculator)

Registry JSON: https://ui.ballmac.com/r/pricing-2.json

Free to use in personal and commercial projects.