Website kits › Rerun › Piece
A loupe at 2.6x on the real photo; passing a flaw lights its note; centimetres or inches; hold it for 15 minutes with a live clock.
Piece is a product page from Rerun, a website kit with 5 pages: A second-hand clothes store website with every piece measured on its photo and every flaw under a loupe. Price: $5 for the whole pack.
Built with: loupe, measured lines, 15-minute hold.
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 | ||
piece | string | the last piece opened on any page, else the leather jacket | Piece id (see RU_PIECES). Default: the last piece opened on any page, else the leather jacket. |
photos | Record<string | ||
onNavigate | (page: string) => void | ||
onAction | (id: string) => void | ||
onHold | (id: string) => void |
show(piece: string): voiddestroy(): voidimport RerunProduct from './RerunProduct';
<RerunProduct />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Clothing store website, UK (pounds).