ASCII

Package manager
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-ascii

About this component

A radio list inside a box drawn with plus and minus signs, in green terminal phosphor. Options read ( ) and (o); the picked line goes bright with a prompt arrow and a blinking block cursor.

Triggers

  • Click
  • State change
  • Glow
  • Keyframe

Techniques

  • Pseudo elements
  • Keyframes
  • CSS transition

Difficulty

Beginner

Accessibility

Keyboard and screen readers

Native radios in a fieldset with a visually hidden legend ("Package manager"), each inside a <label> and named by its visible text; the frame, marks, arrow and cursor are aria-hidden. The focused line is outlined.

Reduced motion

The blink and the transitions are switched off.

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

More radios

See all
Balloon
BalloonsGet code
Output
BauhausGet code
Drawing scale
BlueprintGet code
Aspect ratio
BoundsGet code