Website kits › Offcut › Bag
One bag shared by every page: edit against live stock, undo a removal, free-delivery line, and a checkout that validates as you go before the receipt.
Bag is a cart and checkout from Offcut, a website kit with 5 pages: A streetwear store website where the drop clock turns into live stock. Price: $5 for the whole pack.
Built with: shared bag, inline validation, receipt.
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 |
|---|---|---|---|
light | boolean | ||
autoplay | boolean | ||
seed | boolean | Put two pieces in an empty bag so the page has something to show (store demo). | |
photos | Record<string | ||
onNavigate | (page: string) => void | ||
onAction | (id: string) => void | ||
onPay | (order: { lines: { id: string; size: string; qty: number; price: number }[]; delivery: string; total: number; email: string }) => void | Called with the order when payment succeeds. Wire your payment provider here. |
destroy(): voidimport OffcutBag from './OffcutBag';
<OffcutBag />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Clothing store website, UK (pounds).