Tint

Accent colour
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-tint

About this component

A colour picker of five glass beads on a frosted plate: the bead you pick rises in a ring of light and the whole plate takes on its colour from underneath.

Triggers

  • Click
  • State change
  • Glow

Techniques

  • Radial gradient
  • CSS variables
  • Filter

Difficulty

Beginner

Accessibility

Keyboard and screen readers

Native radios in a fieldset with a visually hidden legend ("Accent colour"), each in a <label>; arrow keys move between them as usual and :focus-visible outlines the option. Each bead is named by aria-label.

Reduced motion

The transitions and loops stop and the component jumps straight to its final state.

Use it in anything you build, commercial and client work included. Licence

More radios

See all
AudienceGet code
Blend modeGet code
BlenderGet code
BreakpointGet code