Teletext

Section
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-teletext

About 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

More radios

See all
Package manager
ASCIIGet code
Balloon
BalloonsGet code
Output
BauhausGet code
Drawing scale
BlueprintGet code