Atomic

Sound
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-atomic

About 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

More radios

See all
Lighting
DichroicGet code
Mood
GroovyGet code
Cover photo
LightboxGet code
How much do you agree?
AgreeGet code