Matrix
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initRadioMatrix(el) on the mounted element instead.
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-matrixAbout this component
On selection, the label characters cycle through random glyphs (0–9, symbols) before resolving to the real character: a Matrix-style decode effect. Monospace light gray font on dark background. Each character resolves on a staggered delay.
Triggers
- Click
- State change
- Glow
Techniques
- CSS variables
- Transition delay stagger
Difficulty
Advanced
Accessibility
Keyboard and screen readers
Hidden native <input type="radio"> with aria-label set to full option text. Matrix decode is purely visual; screen readers see the real label.
Use it in anything you build, commercial and client work included. Licence