Riso
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-risoAbout this component
A paper size picker printed like a two-colour risograph: each option is a pink and a blue plate, outlined and slightly out of register. Picking one inks both solid, so they overprint to violet through a halftone screen.
Triggers
- Click
- State change
- Hover
- Fill
Techniques
- mix-blend-mode
- Radial gradient
- CSS transition
- Keyframes
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Paper size"), each inside a <label> and named by its visible text (A5, A4, A3); the plates are aria-hidden. :focus-visible outlines the plates.
Reduced motion
The transitions and the jog are switched off.
Use it in anything you build, commercial and client work included. Licence