Gooey
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-gooeyAbout this component
A radio list with one coral blob sitting in the picked ring. Pick another option and the blob stretches like syrup, pulls itself across to the new ring and settles.
Triggers
- Click
- State change
- Morph
- Ambient
Techniques
- SVG filter
- CSS variables
- CSS transition
- Keyframes
Difficulty
Advanced
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Digest"), each inside a <label> and named by its visible text; the blob, filter and rings are aria-hidden. The focused row is outlined.
Reduced motion
The blob jumps to the picked ring without stretching.
Use it in anything you build, commercial and client work included. Licence