Website kits › Resham › Bag

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.

Bag props

PropTypeDefaultDescription
darkboolean
autoplayboolean
seedbooleanPut two designs in an empty bag so the page has something to show (store demo).
photosRecord<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 }) => voidCalled with the order when it is placed. Wire your order system or payment provider here.

Methods on the ref

Use it in React

import ReshamBag from './ReshamBag';

<ReshamBag />

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

More in Resham

Good for: Clothing store website, Pakistan, Pakistan e-commerce, Right-to-left (RTL).