App UI kits › Crema › Drink

Drink

The photo eases away as you scroll to the beans in the hopper today, with origin and tasting notes, and size and milk picks that move the price.

Drink 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: parallax hero, bean origin, quick picks.

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.

Drink props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosCjPhotos
itemstringflatwhiteMenu item id. Default flatwhite.
onAdd(drink: CjDrink, price: number) => void
onCustomise(drink: CjDrink) => void

Methods on the ref

Use it in React

import CremaDrink from './CremaDrink';

<CremaDrink />

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

More in Crema

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