App UI kits › Larder › Basket

Basket

Every item sits in the tote by weight: add one and it drops and settles, remove one and it lifts out of the bag.

Basket is a screen from Larder, an app ui kit with 12 screens: A grocery delivery app where the basket fills like a real bag. Price: $5 for the whole pack.

Built with: circle physics, free delivery bar, rolling total.

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.

Basket props

PropTypeDefaultDescription
darkboolean
autoplayboolean
currencystring
photosLrPhotos
linesLarderBasketLine[]
freeOvernumber40Free delivery threshold. Default 40.
feenumber3.5Delivery fee under the threshold. Default 3.5.
onCheckout(lines: LarderBasketLine[], total: number) => void

Methods on the ref

Use it in React

import LarderBasket from './LarderBasket';

<LarderBasket />

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

More in Larder

Good for: Grocery delivery app, Shopping app, UK (pounds).