Skip to content

Colourway Product Card

One photograph, every colourway: the shot is greyscaled and multiplied into the chosen colour, so a small label with six colours and one product photo gets six product photos.

ProEditorialeditorialminimal
Category
Components
Added
2026-09-25
Deps
none
Updated
2026-09-25

This is a viberdy Pro component

The live preview, the props panel and the write-up are open to everyone. The full source, the AI prompt and CLI install are part of Pro.

Preview
KC-114-SG01 / 05

Work jacket

£148
ColourSage
Size

Props

Show sizes
No runtime dependencies
"use client";

import { useRef, useState } from "react";

/**
 * ColourwayProductCard — one photograph, every colourway.
 *
 * A small apparel or homeware label has one good product shot and six
 * colours. This card greyscales the shot and multiplies it into the chosen
 * colour, so the same photograph becomes the sage one, the rust one and the
 * black one — and the plate colour is the card's single saturated field.
 * Choosing a colourway crossfades the plate rather than swapping it.
 *
 * THE SWATCHES ARE A RADIO GROUP. Squares, not circles (a square reads as a
 * fabric swatch), each a real radio with the colour's NAME as its accessible
 * name, arrow keys to move, one tab stop. A sold-out colourway stays on the
 * card, struck through, and swaps the button for "Notify me" — it is a state,
 * not a deletion.

  // ---------------------------------------------------------------
  // Full source available with a viberdy Pro subscription.
  // https://viberdy.dev/pricing
  // ---------------------------------------------------------------
}
Notes

About this component

Small apparel and homeware labels have a specific problem: one good product photograph and six colourways, five of which have never been shot. The usual answer is a row of coloured circles beside a photo of the wrong colour. This card treats the photograph like a halftone under a one-colour plate: it is greyscaled and multiplied into the chosen colour, so the sage one, the rust one and the ink one are all the same shot, and the plate colour is the card's single saturated field. Choosing a colourway crossfades the plate rather than swapping it. The swatches are squares, which read as fabric rather than buttons, and they are a real radio group: arrow keys move, one tab stop, and the accessible name is the colour's name, never a hex. A sold-out colourway stays on the card, struck through, and the button becomes Notify me, because a colour you cannot see is a lost sale and a colour you cannot buy is a lead. Sizes are optional chips, and adding hands your handler the colourway and the size.

Curator’s note

The multiply trick is old print technique — a one-colour plate over a halftone. It solves the real problem small labels have, which is one good photograph and a colour chart.

Related

Pairs well with

Matched on shared tags and category — the entries most likely to be used alongside this one.

New

Swatch Fan Deck

components

A fan deck of paint chips that spreads in your hand on hover or focus — a real radio group, with arrow keys and the colour's name, not its hex.

pickercolourradio
Featured
NewPro

Pick an amount, write a line, and the voucher is on the table as you type — a perforated bond-paper ticket with the amount cropped by its own edge and a serial that never changes under you.

formsecommercelocal-business
Featured
NewPro

A storefront drawn as an engineering document, with an inverted checkerboard lookbook.

ecommercestreetwearstore