Tint
Markup where the component goes, CSS in your stylesheet. No JavaScript.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/radio-tintAbout 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