Brass

Input
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-brass

About this component

A hi-fi input selector: three engraved labels beside brass-ringed sockets on a walnut panel. The socket you pick lights an amber jewel lamp that breathes slowly.

Triggers

  • Click
  • State change
  • Glow
  • Ambient

Techniques

  • Gradient
  • Pseudo elements
  • Keyframes
  • CSS transition

Difficulty

Beginner

Accessibility

Keyboard and screen readers

Native radios in a fieldset with a visually hidden legend ("Input"), each inside a <label> and named by its visible text; the sockets are aria-hidden. The focused row is outlined.

Reduced motion

The lamp stays steady.

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

More radios

See all
Candle
CandlesGet code
Rating
ChalkGet code
Plan
ChoiceGet code
Honey
CombGet code