HUD

Region
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-hud

About this component

A region selector in sci-fi display style: four cyan tiles in a two by two grid with a status light each. The tile you pick brightens, corner brackets snap in round it and a scan line keeps sweeping across.

Triggers

  • Click
  • State change
  • Glow
  • Loop

Techniques

  • Keyframes
  • Pseudo elements
  • CSS variables
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

Native radios in a fieldset with a visually hidden legend ("Region"), each inside a <label> and named by its visible text; the light and brackets are aria-hidden. :focus-visible gives the tile a bright ring.

Reduced motion

The scan and pulse stop and the brackets appear at once.

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

More radios

See all
Mode
LCDGet code
Quantity
LetterpressGet code
Spice level
MemphisGet code
Destination
MetroGet code