Bencho Originals

Features

  • Press shuffle for a new palette. The swatches pinch into drops, swap colour at the narrowest point, and open back into tiles.
  • While they move, a goo filter makes neighbours bead together for a moment.
  • New palettes come from OKLCH, so colours in a palette sit at an even brightness.
  • Each roll picks a mood (candy, vivid, pastel or deep), spreads the hues around the wheel with jitter, and shuffles them.
  • Hover a swatch for its hex value.

API reference

<Palette /> from components/bencho/palette.tsx

PropTypeDefaultDescription
coloursnumber (3–5)4Swatches in the tray.
morphnumber (0–100)60How far swatches pinch during a swap. 0 turns the goo off.
cornernumber14Swatch corner radius in px.
outlinedbooleanfalseAdds a hairline ring around the card, for busy backgrounds.
onShuffle(colours: string[]) => void—Called with the new hex colours.

Keyboard interactions

TabFocuses the shuffle button.
Enter / SpaceRolls a new palette.

Accessibility

  • The tray is a list; each swatch is a listitem labelled with its hex value.
  • Shuffle is a labelled button, and the new colours are announced in a polite live region.

Sound & haptics

Silent by design: no audio and no vibration. All of the feedback is visual, so it works anywhere, muted or not.

Files

Written from scratch for sher.md and inspired by bencho.dev. It contains none of bencho's code or assets.