Teletext
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldTeletext(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/input-teletextAbout 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