App UI kits › Quits › Scan receipt

Scan receipt

A scan line sweeps the receipt on a real table, each line lights as it is read and the sum is checked against the printed total.

Scan receipt is a screen from Quits, an app ui kit with 11 screens: A bill splitting app where a scanned receipt is split by what each person had, and debts collapse into the fewest payments. Price: $5 for the whole pack.

Built with: scan sweep, running total, total check.

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.

Scan receipt props

PropTypeDefaultDescription
darkbooleanLight by default; true gives the dark theme for the sheet.
autoplayboolean
photosQtPhotos
secondsnumber3.2Seconds the sweep takes. Default 3.2.
onUse(r: { items: number; cents: number }) => void
onClose() => void

Methods on the ref

Use it in React

import QuitsScan from './QuitsScan';

<QuitsScan />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Quits

Good for: Bill splitting app UI, Europe (euro), UK (pounds).