Halo

Size
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-halo

About this component

Size radios ringed in light: S, M and L in plain grey circles. The one you pick gets a full-spectrum ring that turns slowly and glows onto the page, and its letter steps up in weight.

Triggers

  • Click
  • State change
  • Glow
  • Loop
  • Gradient

Techniques

  • Conic gradient
  • Keyframes
  • Filter
  • CSS transition

Difficulty

Beginner

Accessibility

Keyboard and screen readers

Native radios in a fieldset with a visually hidden legend ("Size"), each in a <label> and named by aria-label (Small, Medium, Large); the letters and rings are aria-hidden. :focus-visible outlines the option.

Reduced motion

The ring is shown still.

Use it in anything you build, commercial and client work included. Licence

More radios

See all
Region
HUDGet code
Mode
LCDGet code
Quantity
LetterpressGet code
Spice level
MemphisGet code