Component packs › Paper › Receipt Printer
The receipt feeds out of the slot line by line on a stepper rhythm while every line darkens like thermal print.
Receipt Printer is a confirmation from Paper, a component pack with 7 components: Components that behave like real paper. Price: $2 for the whole pack.
Built with: stepper feed, thermal ink, generated barcode.
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 |
|---|---|---|---|
shop | string | ||
address | string | ||
order | string | ||
items | ReceiptItem[] | ||
tax | number | Tax rate, e.g. 0.06 for 6%. | |
currency | string | ||
card | string | ||
printOnMount | boolean | true) | Print as soon as it appears (default true). |
autoplay | boolean | Showcase mode: prints again by itself every few seconds. | |
onPrinted | () => void |
print(): voiddestroy(): voidimport ReceiptPrinter from './ReceiptPrinter';
<ReceiptPrinter />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Micro-interactions.