App UI kits › Spanner › Pay
Every line on the bill, an optional tip that goes to the pro in full, and a receipt that prints out line by line.
Pay is a screen from Spanner, an app ui kit with 11 screens: A home services app where the pro asks before fitting a part, and you see the price first. Price: $5 for the whole pack.
Built with: itemised bill, tip, printed receipt.
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 |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | SpPhotos | ||
onPaid | (total: number, tip: number, method: string) => void |
setTip(n: number): voiddestroy(): voidimport SpannerPay from './SpannerPay';
<SpannerPay />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Home services app UI, Middle East and UAE.