Homing
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initRadioHoming(el) on the mounted element instead.
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-homingAbout this component
A void radio group: each option is a ring with a slow light turning in it; picking one sends twin homing bolts spiralling from the old choice into the new, which bursts and lights up with a living core.
Triggers
- Click
- State change
- Glow
Techniques
- Conic gradient
- Keyframes
- requestAnimationFrame
Difficulty
Advanced
Accessibility
Keyboard and screen readers
Native radio inputs inside <label>s in a <fieldset> named "Team size"; arrow keys move between them.
Reduced motion
The choice changes without effects.
Use it in anything you build, commercial and client work included. Licence