Component packs › Plumb › Protractor Input
A steel arm with a hairline swings across clear acrylic with its real double scale and shadow, and the measured wedge fills in.
Protractor Input is an angle picker from Plumb, a component pack with 6 measuring controls: Range sliders, angle pickers and loaders built from measuring tools. Price: $2 for the whole pack.
Built with: acrylic with cast shadow, double scale, arm spring.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | Degrees, 0 to 180. | |
step | number | ||
label | string | Accessible name. | |
onChange | (degrees: number) => void | ||
autoplay | number | false | Showcase mode: swings to a new angle every N ms while visible. |
readonly value: numbersetValue(deg: number, silent?: boolean): voiddestroy(): voidimport ProtractorInput from './ProtractorInput';
<ProtractorInput />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Sliders.