Blueprint

Drawing scale
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-blueprint

About 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

More radios

See all
Aspect ratio
BoundsGet code
Input
BrassGet code
Candle
CandlesGet code
Rating
ChalkGet code