Component packs › Plumb › Protractor Input

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.

Protractor Input props

PropTypeDefaultDescription
valuenumberDegrees, 0 to 180.
stepnumber
labelstringAccessible name.
onChange(degrees: number) => void
autoplaynumber | falseShowcase mode: swings to a new angle every N ms while visible.

Methods on the ref

Use it in React

import ProtractorInput from './ProtractorInput';

<ProtractorInput />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Plumb

Good for: Sliders.