Component packs › Spool › Level Needle
A backlit VU meter on the true scale, with needle ballistics you can see: a 300 ms rise, a small overshoot and a peak lamp above 0 VU.
Level Needle is a meter from Spool, a component pack with 6 deck controls: Controls built from the mechanics of a tape deck: latching keys, reels, drums and a VU needle. Price: $2 for the whole pack.
Built with: real VU scale, second-order ballistics, peak hold lamp.
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 |
|---|---|---|---|
level | number | -20 | Level in dB VU (-20 to +3). Default -20. |
unit | string | "VU" | Small caption on the face. Default "VU". |
label | string | "Level" | Accessible name. Default "Level". |
dark | boolean | ||
autoplay | number | false | Showcase mode: follows a built-in music-like signal; the number sets how often it changes phrase (ms). |
readonly level: numbersetLevel(db: number): void: Set the level in dB VU.setAmplitude(a: number): void: Set the level as an amplitude, 1 = 0 VU.destroy(): voidimport LevelNeedle from './LevelNeedle';
<LevelNeedle />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.