Teletext

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-teletext

About this component

A search field on a teletext page: a band of separated mosaic graphics in the seven teletext colours over a blue entry line. Each letter you type flashes through cyan, magenta and green before it settles in yellow.

Triggers

  • Focus
  • Keyframe
  • State change

Techniques

  • Keyframes
  • Text animation
  • Gradient

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input named by aria-label ("Search pages"); the mosaic, scanlines, mirror and caret are aria-hidden. Focus draws a ring round the bezel.

Reduced motion

Letters appear in yellow at once and the caret stays solid.

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

More inputs

See all
TitaniumGet code
VelvetGet code
VFDGet code
ASCIIGet code