ASCII

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-ascii

About this component

A username field whose frame is typed out of plus, minus and pipe characters, with a block cursor blinking after the prompt. On focus the frame is redrawn in double rules and lights up.

Triggers

  • Focus
  • Keyframe
  • Border
  • Draw

Techniques

  • Keyframes
  • clip-path
  • mix-blend-mode
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input inside a <label>, named by aria-label ("Username"); the character frame and drawn cursor are aria-hidden, so a screen reader meets one plain field.

Reduced motion

Every transition and animation is switched off.

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

More inputs

See all
BauhausGet code
BitmapGet code
ChalkGet code
CheckpointGet code