Orbs

Input mode
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-orbs

About this component

Three glass orbs for an input mode, voice, draw or camera: the one you pick fills with lavender light, glows, and its icon swells as if seen through a thicker lens.

Triggers

  • Click
  • State change
  • Glow
  • Icon

Techniques

  • Radial gradient
  • CSS transition
  • SVG

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

Native radios in a fieldset with a visually hidden legend ("Input mode"), each in a <label>; arrow keys move between them as usual and :focus-visible outlines the option. Each option is named by aria-label.

Reduced motion

The transitions and loops stop and the component jumps straight to its final state.

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

More radios

See all
Delivery
RaiseGet code
Plan
TierGet code
Accent colour
TintGet code
AudienceGet code