Website kits › Resham › Bag
Cash on delivery by default, a mobile for WhatsApp confirmation, the city deciding the fee, and what happens next.
Bag is a cart and checkout from Resham, a website kit with 5 pages: A Pakistani eastern-wear store website where every lawn suit unrolls into its three pieces. Price: $5 for the whole pack.
Built with: cash on delivery, WhatsApp confirmation, 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 designs in an empty bag so the page has something to show (store demo). | |
photos | Record<string | ||
onNavigate | (page: string) => void | ||
onAction | (id: string) => void | ||
onOrder | (o: { lines: { id: string; stitched: boolean; size: string; qty: number; price: number }[]; city: string; pay: 'cod' | 'card'; total: number; phone: string }) => void | Called with the order when it is placed. Wire your order system or payment provider here. |
destroy(): voidimport ReshamBag from './ReshamBag';
<ReshamBag />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Clothing store website, Pakistan, Pakistan e-commerce, Right-to-left (RTL).