Comic
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-comicAbout this component
Comic-book answer blocks: A, B and C in thick black outlines with hard offset shadows. Picking one punches it down onto its shadow, floods it with flat colour and throws three action lines off its corner.
Triggers
- Click
- State change
- Keyframe
Techniques
- Transform only
- Radial gradient
- Keyframes
- SVG stroke
- CSS variables
Difficulty
Beginner
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Answer"), each in a <label> and named by aria-label ("Answer A" to "Answer C"); the blocks are aria-hidden. :focus-visible draws a dashed outline.
Reduced motion
The transitions and the pop are switched off.
Use it in anything you build, commercial and client work included. Licence