A compressor's metering surface: input and output level bars flanking a gain-reduction bar that fills from the top downward β the hardware convention, because it shows what is being taken away rather than what is there β with a peak-hold tick for the deepest recent bite. Wire it with dB values you already have, a per-frame callback (DynamicsCompressorNode.reduction slots straight in), or a pair of analysers.
pnpm dlx shadcn@latest add "https://pluginui.com/r/core-gain-reduction-meter.json"