App UI kits › Drift › Checkout
Slide to pay tracks your finger, springs back if you let go early and locks into an order-placed moment with a tick that draws itself.
Checkout is a screen from Drift, an app ui kit with 12 screens: A food delivery app where you watch your courier ride a living city. Price: $8 for the whole pack.
Built with: slide to pay, sliding tip pill, door on the live map.
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 |
|---|---|---|---|
photos | DriftPhotos | ||
dark | boolean | ||
subtotal | number | 39.5 | Order subtotal (food only). Default 39.5. |
address | string | ||
autoplay | boolean | ||
onPay | (o: { speed: string; when: string; pay: string; tip: number; total: number }) => void | ||
onTrack | () => void |
reset(): voiddestroy(): voidimport DriftCheckout from './DriftCheckout';
<DriftCheckout />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Food delivery app UI, Restaurant website template, UI and UX design examples, USA (dollars).