Atomic
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-atomicAbout this component
A mid-century radio list on a kidney-shaped Formica top with an aluminium edge and a boomerang print. The option you pick turns its starlet into an atom, a coral nucleus with three orbits and their electrons circling, and a boomerang stroke underlines its name.
Triggers
- Click
- State change
- Ambient
- Loop
- Draw
Techniques
- SVG
- Keyframes
- stroke-dashoffset
- CSS transition
- CSS variables
Difficulty
Advanced
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Sound"), each in a <label> with its visible name (Mono, Stereo, Hi-fi); the tabletop, starlets and atoms are aria-hidden. :focus-visible outlines the marker.
Reduced motion
The atom and underline appear at once and the orbits stand still.
Use it in anything you build, commercial and client work included. Licence