App UI kits › Crema › Bag and pay

Bag and pay

Steppers that move the total, the bar and a pickup time, the beans the order earns, and slide to pay with a thumb that springs back if you let go early.

Bag and pay is a screen from Crema, an app ui kit with 11 screens: A coffee ordering app that opens on espresso running into your cup, and builds your drink in a glass you can see. Price: $5 for the whole pack.

Built with: pickup time, slide to pay, beans earned.

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.

Bag and pay props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosCjPhotos
onPay(total: number, pickup: string) => void

Methods on the ref

Use it in React

import CremaBag from './CremaBag';

<CremaBag />

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

More in Crema

Good for: UK (pounds), Coffee ordering app.