Letterpress
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-letterpressAbout this component
A quantity picker of four numbered rounds debossed into cotton paper. The one you pick is pressed deeper and inked vermilion, with the number left in bare paper.
Triggers
- Click
- State change
- Fill
- Keyframe
Techniques
- Keyframes
- Pseudo elements
- CSS transition
Difficulty
Beginner
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Quantity"), each in a <label> and named by aria-label ("50 cards" to "500 cards"); the printed numbers are aria-hidden. :focus-visible outlines the round.
Reduced motion
The press is skipped and the ink appears at once.
Use it in anything you build, commercial and client work included. Licence