Website kits › Salve › Bag and checkout
One bag shared by every page, delivery that changes the total and the arrival date, and a checkout that checks every field inline.
Bag and checkout is a bag and checkout from Salve, a website kit with 5 pages: A working skincare store: real bottles, labels that open into the full ingredient list, one shared bag. Price: $5 for the whole pack.
Built with: shared bag, inline validation, working-day dates.
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 | ||
photos | Record<string | ||
seed | boolean | ||
onOrder | (order: { lines: SdLine[]; total: number; express: boolean; email: string; }) => void | Called with the order once every field checks out. Send it to your payment provider here. | |
onNavigate | (page: string) => void |
destroy(): voidimport SalveBag from './SalveBag';
<SalveBag />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skincare store website, UK (pounds).