Website kits › Halfstep › Bag
Size and width per pair, shelf or made-for-you dates on every line, and a checkout that validates as you go.
Bag is a cart and checkout from Halfstep, a website kit with 5 pages: A shoemaker store website where the real shoes float in front of the name and change leather live. Price: $5 for the whole pack.
Built with: shared bag, made to order, 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.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
seed | boolean | Put two pairs 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; width: string; leather: string; qty: number; price: number; made: boolean }[]; delivery: string; total: number; email: string }) => void | Called with the order when payment succeeds. Wire your payment provider here. |
destroy(): voidimport HalfstepBag from './HalfstepBag';
<HalfstepBag />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Shoe store website, UK (pounds).