Website kits › Rerun › Piece

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.

Piece props

PropTypeDefaultDescription
darkboolean
autoplayboolean
piecestringthe last piece opened on any page, else the leather jacketPiece id (see RU_PIECES). Default: the last piece opened on any page, else the leather jacket.
photosRecord<string
onNavigate(page: string) => void
onAction(id: string) => void
onHold(id: string) => void

Methods on the ref

Use it in React

import RerunProduct from './RerunProduct';

<RerunProduct />

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

More in Rerun

Good for: Clothing store website, UK (pounds).