Component packs › Plumb › Plumb-bob Loader
A turned brass bob swings on its line while work runs; call done() and the swing dies away until its point settles over the mark and a check draws.
Plumb-bob Loader is a loader 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: real pendulum, spinning sheen, settles on the mark.
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 |
|---|---|---|---|
loading | boolean | Start swinging straight away. | |
label | string | Accessible name. | |
onSettle | () => void | ||
autoplay | number | false | Showcase mode: alternates loading and done every N ms while visible. |
readonly loading: booleanstart(): voiddone(): voiddestroy(): voidimport PlumbBobLoader from './PlumbBobLoader';
<PlumbBobLoader />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Sliders.