Skip to content
caliper ui docs

Pro

Billing overview

The current plan, payment method, next charge and recent invoices in one view.

Pro
pnpm dlx shadcn@latest add @caliper/billing-overview

Northwind billing

Team plan for 12 seats, renewing November 1

Plan

Team

$288 per month · 12 seats

Renews Nov 1, 2026

Payment method

Visa ending 4242

Expires 08/27

Next invoice

$664.30

on Nov 1, 2026

Includes an estimated $376.30 of usage

Invoices
InvoiceDateAmountStatusDownload
INV-2026-0042Oct 1, 2026$612.40Paid
INV-2026-0036Sep 1, 2026$588.10Paid
INV-2026-0031Aug 1, 2026$551.75Refunded
INV-2026-0025Jul 1, 2026$497.20Paid
Installs components/ui/billing-overview.tsxDepends on @radix-ui/react-slot, lucide-reactMotion none in component source

When to use

Use it for

  • A billing page where users check and change what they pay.
  • A past-due payment needs a clear next step.

Skip it when

  • You only need the invoice list; use a data table.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/billing-overview

Adds its 7 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

Usage

Import it from your copy of the source. The example behind the preview comes with the source.

example.tsx
import { BillingOverview } from "@/components/ui/billing-overview"

The worked example comes with Pro

The 41-line example behind the preview opens here, ready to copy.

  • 626 Pro parts, blocks and page templates, all with source
  • $149 once, with lifetime updates. No renewal
  • A full refund within 14 days if it is not for you
Checking your licence…

API reference

BillingOverview

component
PropTypeDefaultDescription
plan *{ name: string; price: number; interval: "month" | "year"; seats: number; renews: string; }—
paymentMethod *{ brand: string; last4: string; expires: string; }—
next *{ amount: number; date: string; note?: string | undefined; }—
invoices *readonly Invoice[]—
pastDuestring—Shows a warning with the reason when set.
currencystring"USD"
onChangePlan(() => void)—
onUpdatePayment(() => void)—
onDownload((invoice: Invoice) => void)—
onCancel(() => void)—
classNamestring—

Accessibility

It exposes region semantics, with aria-label and aria-hidden kept in step with state.

No custom key handling; Tab and the native activation keys do the work.

Motion

It declares no animation in its component source. Any transition comes from its stylesheet, which uses the duration tokens that collapse to instant under prefers-reduced-motion.

All Billing examples