Two-way allocation slider built as a slack wire between two labeled anchors: a bead sliding along the wire sets the ratio while the wire's own sag encodes the unallocated remainder, so a taut straight wire means fully committed and a deep droop means budget left on the table.
npx shadcn@latest add https://design.helpmarq.com/r/slider-allocation-wire.jsonslider-allocation-wire