Website kits › Chalkline › Cloth
Every cloth as a large swatch of its real weave with mill, weight and season; pick up to four for free posted swatches.
Cloth is a catalogue page from Chalkline, a website kit with 5 pages: A made-to-measure tailor website where the real suit photo is re-woven in the cloth you pick. Price: $5 for the whole pack.
Built with: real weave swatches, season filter, swatch request.
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 | ||
photos | Record<string | ||
onNavigate | (page: string) => void | ||
onAction | (id: string) => void | ||
onSwatches | (r: { cloths: string[]; name: string; postcode: string; email: string }) => void |
destroy(): voidimport ChalklineCloth from './ChalklineCloth';
<ChalklineCloth />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Tailor website.