Agree
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-likertAbout this component
A seven-point agree scale: rings large at both ends and small in the middle, violet for disagree and green for agree. The ring you pick fills with a tick, and a wave runs out through the other rings from the one you chose.
Triggers
- Click
- State change
- Delay stagger
- Spring
Techniques
- Keyframes
- CSS variables
- stroke-dashoffset
- Transition delay stagger
- Radial gradient
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("How much do you agree?"), each named by aria-label (Strongly disagree through Strongly agree); the rings and end words are aria-hidden. :focus-visible outlines the ring.
Reduced motion
The wave and the tick drawing are switched off and the pick fills at once.
Use it in anything you build, commercial and client work included. Licence