App UI kits › Drift › Checkout

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.

Checkout props

PropTypeDefaultDescription
photosDriftPhotos
darkboolean
subtotalnumber39.5Order subtotal (food only). Default 39.5.
addressstring
autoplayboolean
onPay(o: { speed: string; when: string; pay: string; tip: number; total: number }) => void
onTrack() => void

Methods on the ref

Use it in React

import DriftCheckout from './DriftCheckout';

<DriftCheckout />

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

More in Drift

Good for: Food delivery app UI, Restaurant website template, UI and UX design examples, USA (dollars).