Black Friday: 30% off Pro

Get 30% off

Updated

Pricing Receipt

Pro

Preview

Customize

Three
Pro
Yearly
Print0.70s

Installation

Pro

Pricing Receipt is a Pro component

Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.

Install with a key

  1. Add the Pro registry to components.json:
    components.json
    {
      "registries": {
        "@uibrik-pro": {
          "url": "https://uibrik.com/r/pro/{name}.json",
          "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" }
        }
      }
    }
  2. Put your key in .env.local and add that file to .gitignore:
    .env.local
    UIBRIK_LICENSE=your-license-key
  3. Install it:
    Terminal
    npx shadcn@latest add @uibrik-pro/pricing-receipt

Usage

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) => {}}/>

Where to use Pricing Receipt

  • Order summaries

    A receipt printing with line items and the total due today makes checkout clear.

    Pairs with Card Input

  • Memorable plan selection

    The receipt getting stamped gives choosing a plan a satisfying finish.

    Pairs with Status Stamp

  • Subscription pricing

    Showing what is charged now versus later builds trust.

Props

PricingReceipt
tiers
Type "2" | "3"
"3"
How many plans to show.
defaultPlan
Type "Starter" | "Pro" | "Team"
"Pro"
Plan picked on mount, by name. Falls back to the recommended plan.
defaultBilling
Type "monthly" | "yearly"
"yearly"
Billing period on mount.
stamp
Type string
"Selected"
Word on the stamp.
printDuration
Type number
0.7
Time for a slip to print.
currency
Type string
"USD"
ISO currency code for the prices.
plans
Type Plan[]
–
Plans in tier order.
onSelect
Type (plan: Plan, billing: Billing) => void
–
Called when the continue button is pressed.
className
Type string
–
Classes for the section.