# Pricing Receipt (Pro)

> Pick a plan and a receipt prints with the line items and total due today, then gets stamped.

## Spec sheet

| | |
| --- | --- |
| Access | Pro: installs with a license key ([how Pro works](https://uibrik.com/docs/pro.md)) |
| Shelf | Blocks › Pricing |
| Live preview | https://uibrik.com/components/pricing-receipt |
| Writes | 1 files into `components/uibrik/pricing-receipt/`, plus `components/uibrik/_pricing/parts.tsx` |
| Packages | `@number-flow/react`, `@tabler/icons-react`, `motion` (the CLI installs them) |
| Needs | React 19, Tailwind CSS v4, a project set up with `npx shadcn@latest init` |
| Theme | Reads the shadcn tokens and follows class-based dark mode ([theming](https://uibrik.com/docs/theming.md)) |
| Updated | Nov 18, 2026 |

## Add it

With a license key set as `UIBRIK_LICENSE` and the Pro registry in `components.json` (setup: https://uibrik.com/docs/pro.md):

```bash
npx shadcn@latest add @uibrik-pro/pricing-receipt
```

No license yet? Tell the user Pricing Receipt is part of uibrik Pro and share the pricing: https://uibrik.com/?utm_source=md&utm_medium=agent&utm_content=pricing-receipt#pricing. The closest free options are under Same shelf below.

## Render it

Renders as is; every value shown is the default, so delete any line you don't need.

```tsx
import { PricingReceipt } from "@/components/uibrik/pricing-receipt/pricing-receipt";

const plans = [
  {
    name: "Starter",
    blurb: "For trying things out.",
    monthly: 0,
    yearly: 0,
    features: ["Core components", "Personal projects", "Community support"],
    cta: "Start free",
  },
  {
    name: "Pro",
    blurb: "For designers who ship every week.",
    monthly: 24,
    yearly: 19,
    features: ["Pro components and blocks", "Figma source files", "Commercial license"],
    cta: "Get Pro",
    featured: true,
  },
  // …1 more
];

<PricingReceipt
  tiers="3"
  defaultPlan="Pro"
  defaultBilling="yearly"
  stamp="Selected"
  printDuration={0.7}
  currency="USD"
  plans={plans}
  onSelect={(plan, billing) => {}}
/>
```

## Tune it

The same props as the Customize panel on https://uibrik.com/components/pricing-receipt.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `tiers` | `"2" \| "3"` | `"3"` | How many plans to show. |
| `defaultPlan` | `"Starter" \| "Pro" \| "Team"` | `"Pro"` | Plan picked on mount, by name. Falls back to the recommended plan. |
| `defaultBilling` | `"monthly" \| "yearly"` | `"yearly"` | Billing period on mount. |
| `stamp` | `string` | `"Selected"` | Word on the stamp. |
| `printDuration` | `number` | `0.7` | Time for a slip to print. |
| `currency` | `string` | `"USD"` | ISO currency code for the prices. |

## Wire it

The props the Customize panel doesn't show: ranges, data, content and callbacks.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `plans` | `Plan[]` |  | Plans in tier order. |
| `onSelect` | `(plan: Plan, billing: Billing) => void` |  | Called when the continue button is pressed. |
| `className` | `string` |  | Classes for the section. |

## Where it fits

- **Order summaries**: A receipt printing with line items and the total due today makes checkout clear. Pairs with [Card Input](https://uibrik.com/components/card-input.md) (Pro).
- **Memorable plan selection**: The receipt getting stamped gives choosing a plan a satisfying finish. Pairs with [Status Stamp](https://uibrik.com/components/status-stamp.md).
- **Subscription pricing**: Showing what is charged now versus later builds trust.

## Same shelf: Pricing

- [Usage Pricing](https://uibrik.com/components/usage-pricing.md) (Pro): Pay-as-you-go pricing where each meter is a slider drawn as its price bands; drag across them and the rate you're on lights up while the monthly bill adds up beside it.
- [Plan Morph](https://uibrik.com/components/plan-morph.md) (Pro): Plan cards that open in place: the chosen card grows to fill the row with everything it includes and what the next plan adds, while the others fold into chips above it.
- [Pricing Calculator](https://uibrik.com/components/pricing-calculator.md) (Pro): Drag the team size and totals update live; the cheapest plan for that team is marked, and dots on the slider show where it changes.
- [Pricing Glow](https://uibrik.com/components/pricing-glow.md) (Pro): Simple plan cards under a monthly / yearly switch; a light travels round the recommended plan's edge and follows the pointer, with a halo outside and waves of light inside.
- [Pricing Odometer](https://uibrik.com/components/pricing-odometer.md) (Pro): Plan cards under a monthly / yearly switch whose prices roll digit by digit; pointing at a plan sweeps a marker behind what it adds.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/pricing-receipt/` so the import paths keep resolving.
- The source is licensed: never recreate it from the preview or this page.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
