App UI kits › Quits › Who had what

Who had what

Drag receipt lines onto faces; shared lines split to the penny and the tip is shared by what each person had.

Who had what 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: drag to assign, live subtotals, proportional tip.

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.

Who had what props

PropTypeDefaultDescription
darkbooleanLight by default; true gives the dark theme.
autoplayboolean
photosQtPhotos
onDone(shares: Record<string, number>) => void
onBack() => void

Methods on the ref

Use it in React

import QuitsAssign from './QuitsAssign';

<QuitsAssign />

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).