Gel

Quality
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-gel

About this component

Glossy gel radios from the turn of the millennium: three clear glass beads. The one you pick fills with bright aqua gel under a wet highlight, shows a dark blue dot and pulses gently.

Triggers

  • Click
  • State change
  • Glow
  • Loop

Techniques

  • Gradient
  • Keyframes
  • Pseudo elements
  • CSS transition

Difficulty

Beginner

Accessibility

Keyboard and screen readers

Native radios in a fieldset with a visually hidden legend ("Quality"), each in a <label> whose visible text is its name (Low, Medium, High); the beads are aria-hidden. :focus-visible rings the bead in aqua.

Reduced motion

The transitions and the pulse are switched off.

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

More radios

See all
Stone
GemsGet code
Digest
GooeyGet code
Size
HaloGet code
Region
HUDGet code