App UI kits › Crema › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | CjPhotos | ||
onPay | (total: number, pickup: string) => void |
pay(): voiddestroy(): voidimport CremaBag from './CremaBag';
<CremaBag />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: UK (pounds), Coffee ordering app.