ASCII

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-ascii

About this component

A button drawn in box characters on a green phosphor terminal, with a blinking block cursor after the label. Hover redraws the frame in double lines; a press inverts it.

Triggers

  • Hover
  • Click
  • Loop
  • Border

Techniques

  • Pseudo elements
  • Keyframes
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native button with aria-label "Download" so the drawn characters are not read out; the row is aria-hidden and :focus-visible draws an outline.

Reduced motion

The cursor stops blinking.

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

More buttons

See all
AuroraGet code
BasketGet code
BauhausGet code
BitmapGet code