Receipt

Monospace payment receipt card with an order id, itemized amounts in tabular numerals and a bold total row. Built with Tailwind for checkout and billing pages.

src/registry/ui/receipt.tsx/r/receipt.json

Installation#

bash
npx shadcn@latest add @minidev/receipt

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/receipt.json

Usage#

tsx
import { Receipt } from "@/components/ui/receipt"

export function Example() {
  return <Receipt />
}

API reference#

Receipt props
PropTypeDefault
idstring"RCP-2041"
linesReceiptLine[]SAMPLE_LINES
totalstring"$104.76"
classNamestring-
All pricing and billing components