Component packs › Tender › Receipt
The receipt rises out of the card terminal in short motor steps, each line appearing as it passes the print head, with a torn edge.
Receipt is a receipt from Tender, a component pack with 6 payment components: Payment components where you watch the money move. Price: $2 for the whole pack.
Built with: stepped paper feed, line by line print, totals add up.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
merchant | string | ||
address | string | ||
items | ReceiptItem[] | ||
vat | number | VAT rate included in the prices, e.g. 0.1. | |
tip | number | ||
currency | string | ||
card | string | ||
onPrinted | () => void | ||
autoplay | number | false | Showcase mode: prints again every N ms while visible. |
print(): voiddestroy(): voidimport Receipt from './Receipt';
<Receipt />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Pricing and payment.