0Views
0Copies
Variants

API Reference
Props for <ReceiptPrinter />
| Prop | Type | Default | Description |
|---|---|---|---|
| backgroundColor | string | "#0c0e0c" | The surface the printer hangs over. |
| paperColor | string | "#f7f5ef" | The thermal paper; rules, tiles and the perforation are mixed from it and the muted colour. |
| inkColor | string | "#1b1c18" | Names, amounts, the code and the line icons. |
| mutedColor | string | "#77756c" | Labels, notes and plans. |
| bandColor | string | "#e1f0c4" | The band behind the total; its label is a darker shade of it. |
| glowColor | string | "#9edb4d" | The light inside the slot, the blade’s spark and the print head’s line on the paper. |
| Prop | Type | Default | Description |
|---|---|---|---|
| logo | string | "" | Your logo on its tile at the top, a square image that allows cross-origin use; empty draws the built-in mark. |
| productLogo | string | "" | The product’s logo beside its name and on lines with the Product logo icon; empty draws the built-in mark. |
| merchantName | string | "MotionUIKit" | |
| merchantSite | string | "motionuikit.io" | |
| documentLabel | string | "Invoice" | |
| numberFormat | string | "INV-2026-{seq}" | The document number; {seq} is the running number, four digits. |
| productKind | string | "Hero section" | |
| productName | string | "Aeron" | |
| productNote | string | "Pro license · 2 add-ons" | |
| amountLabel | string | "Amount due" | |
| dueText | string | "Due 02 Dec 2026" | |
| billedToLabel | string | "Billed to" | |
| client | string | "Northwind Studio" | |
| issuedLabel | string | "Issued" | |
| issuedOn | string | "17 Nov 2026" | |
| subtotalLabel | string | "Subtotal" | |
| totalLabel | string | "Total due" | |
| currency | string | "USD" | The ISO currency code amounts are written in. |
| locale | string | "en-US" | How amounts are written, such as en-US or de-DE. |
| payCall | string | "Scan to pay" | |
| payUrl | string | "pay.billforge.app/i/{seq}" | Printed under the call; {seq} is the running number. The code beside it is drawn from it. |
| poweredBy | string | "Powered by BillForge" | |
| footer | string | "Thank you for building with MotionUIKit" | Under the perforation. |
| font | FontValue | {"fontFamily":"Inter"} | The printed text. The component doesn’t load the font, so add it to your app. |
| monoFont | FontValue | {"fontFamily":"JetBrains Mono"} | The small monospaced labels. The component doesn’t load the font, so add it to your app. |
| Prop | Type | Default | Description |
|---|---|---|---|
| startNumber | number | 142 | The running number of the first copy; every tear prints the next one. |
| pullDistance | number | 90 | How far the paper is pulled down before it tears; let go sooner and it slides back. |
| feedDuration | number | 2.1 | How long the next copy takes to feed out after a tear. |
| tearStyle | 'blade' | 'hand' | 'perforation' | 'center' | "blade" | How the paper is cut: the blade crosses the slot; a hand tear rips across from the right corner with a ragged edge; a perforation gives way hole by hole; a split opens in the middle and runs out to both edges. |
| reactive | boolean | true | The paper lifts toward the pointer, ripples under it and swings when flicked. |
| scale | number | 1 | Size of the printer and paper against the size that fits the component. |
| Prop | Type | Default | Description |
|---|---|---|---|
| items | Array<{ name, plan, amount, icon }> | [{"name":"Aeron Hero Section","plan":"Hero section · Pro license","amount":49,"icon":"product"},{"name":"Lifetime updates","plan":"Add-on · lifetime","amount":19,"icon":"updates"},{"name":"Priority support","plan":"Add-on · 12 months","amount":29,"icon":"support"}] | The receipt’s lines; the amount due and the total are their sum. |
S
Motion score
Compositor-only
- Category
- Interactive Elements
- Framework
- React
- Published
- Dec 4, 2026
- Dependencies
- Variants
Receipt Printer
A receipt printer hangs from the top edge and feeds out a 3D paper invoice that curls toward you and lifts under the pointer. Pull the paper down and it is cut, by the blade, by hand, along a perforation or split from the middle; the torn sheet rolls up and drops and the next numbered copy feeds out. Set every line, label, amount and colour, and your own logos.