E-ink

Typeface
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-eink

About this component

A typeface picker on an e-paper screen: three grey tiles showing Aa in serif, sans and mono. The tile you pick refreshes with the black and white flash of e-ink and settles inverted, with a radio mark in its corner.

Triggers

  • Click
  • State change
  • Keyframe

Techniques

  • Keyframes
  • Pseudo elements

Difficulty

Beginner

Accessibility

Keyboard and screen readers

Native radios in a fieldset with a visually hidden legend ("Typeface"), each inside a <label> and named by its visible text; the Aa sample and corner mark are aria-hidden. :focus-visible outlines the tile.

Reduced motion

The refresh flash is switched off and the tile simply inverts.

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

More radios

See all
Plan
ExtrudeGet code
Quality
GelGet code
Stone
GemsGet code
Digest
GooeyGet code