Billing Pro 1: plan, usage meters and invoicesPRO
Current plan with usage meters that turn to a warning near the limit, a banner naming what is close, a replaceable card and downloadable invoices with status.
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/billing-pro-1Need a licence or help with setup?
Usage
import { BillingPro1 } from "@/components/ballmac/blocks/billing-pro-1/billing-pro-1"Dependencies
- npm
- lucide-react
Use with AI
Billing overview. Meters expose progressbar semantics; statuses carry words. Hooks: onUpgrade, onDownload, onUpdateCard. With the shadcn MCP server set up (guide), ask your agent:
Add the Ballmac UI Billing Pro 1: plan, usage meters and invoices (@ballmac-pro/billing-pro-1) to this project with the shadcn MCP, then use it where it fits.
Use it for
- SaaS billing pages
Not for
- Free-only products
Registry JSON (needs your licence key): https://ui.ballmac.com/r/pro/billing-pro-1.json
Covered by the Ballmac UI Pro license.
More billing blocks
Billing 1: plan, usage and invoices
A billing page: current plan and monthly cost, usage meters that turn amber near the limit, the card on file with an update dialog (formatted, validated), the billing contact and an invoice list with status and downloads.
Billing 2: change plan with proration
A change-plan flow: billing interval, plan cards as radios, a seat stepper that respects the current team, and a sticky summary that works out the prorated charge, the credit and what is due today.