Teletext
Markup where the component goes, CSS in your stylesheet. No JavaScript.
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/radio-teletextAbout this component
A teletext page with a blocky masthead over rows of chunky text, and the four coloured Fastext links along the foot as the options. The link you pick turns into a solid block of its colour, filled in hard steps, and the masthead redraws in that colour row by row.
Triggers
- Click
- State change
- Fill
- Keyframe
Techniques
- Keyframes
- clip-path
- CSS variables
- SVG
- Pseudo elements
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Section"), each in a <label> with its visible name (News, Sport, Weather, TV); the masthead and text rows are aria-hidden. :focus-visible outlines the link in white.
Reduced motion
The stepped fills are switched off and the picked link is shown filled at once.
Use it in anything you build, commercial and client work included. Licence