Blueprint
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-blueprintAbout this component
A drawing scale picker on drafting-blue grid paper: four dashed circles with their ratios underneath. The one you pick is inked solid, gets centre lines drawn through it and a dashed construction ring that keeps turning.
Triggers
- Click
- State change
- Draw
- Loop
Techniques
- Pseudo elements
- Keyframes
- CSS transition
- Gradient
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Drawing scale"), each inside a <label> and named by its visible text (1:1 to 1:10); the marks are aria-hidden. :focus-visible outlines the mark.
Reduced motion
The ring stops turning and the lines appear at once.
Use it in anything you build, commercial and client work included. Licence