HUD
Markup where the component goes, CSS in your stylesheet. No JavaScript.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/radio-hudAbout 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