Agree

How much do you agree?
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-likert

About 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

More radios

See all
Pattern
Op-artGet code
Reaction
ReactionGet code
Accent colour
RevolveGet code
Stage
RollGet code