E-ink
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-einkAbout 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