uibrik

Pricing Receipt

New

Preview

Customize

Three
Yearly
Print0.70s

Usage

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

<PricingReceipt />

Installation

npx shadcn@latest add https://uibrik.com/r/pricing-receipt.json
Adds the files to components/uibrik/pricing-receipt and installs @number-flow/react, @tabler/icons-react and motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/pricing-receipt.

Props

PricingReceipt
tiers
Type "2" | "3"
"3"
How many plans to show.
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.
defaultPlan
Type string
–
Plan picked on mount, by name. Defaults to the recommended plan.
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.