Wash
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-washAbout this component
A radio list on watercolour paper with pencilled rings. The row you pick gets a wet wash of its own colour that bleeds out from the ring, and the edge of the wash keeps shifting slightly as if still damp.
Triggers
- Click
- State change
- Hover
- Fill
Techniques
- clip-path
- mix-blend-mode
- Keyframes
- CSS variables
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Delivery window"), each inside a <label> and named by its visible text; the wash and ring are aria-hidden. The focused row is outlined.
Reduced motion
The wash appears at once and stays still.
Use it in anything you build, commercial and client work included. Licence