App UI kits › Drift › Bag

Bag

A small scooter rides the free-delivery bar and it turns into a win when you cross it; rows swipe away and the rest close the gap.

Bag 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: free-delivery rider, swipe to delete, promo stamp.

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 props

PropTypeDefaultDescription
photosDriftPhotos
darkboolean
itemsDriftCartItem[]
freeAtnumber35Subtotal that unlocks free delivery. Default 35.
codestring"DRIFT10"Promo code that takes 10% off. Default "DRIFT10".
autoplayboolean
onCheckout(total: number) => void

Methods on the ref

Use it in React

import DriftCart from './DriftCart';

<DriftCart />

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).