Website kits › Rerun › Bag

Bag

Every piece on its own 15-minute clock; expired holds go back on the rail with a note; paying marks pieces sold everywhere.

Bag is a cart and checkout from Rerun, a website kit with 5 pages: A second-hand clothes store website with every piece measured on its photo and every flaw under a loupe. Price: $5 for the whole pack.

Built with: hold clocks, released note, inline validation.

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
darkboolean
autoplayboolean
seedbooleanHold two pieces in an empty bag so the page has something to show (store demo).
photosRecord<string
onNavigate(page: string) => void
onAction(id: string) => void
onPay(o: { ids: string[]; total: number; email: string }) => void

Methods on the ref

Use it in React

import RerunBag from './RerunBag';

<RerunBag />

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

More in Rerun

Good for: Clothing store website, UK (pounds).