N
ns-ui

Chain Scale · ns-ui

A map zoom control that is the scale bar: drag its end handle in log space to zoom, and the bar's length always reads a sayable 1-2-5 round distance, snapping with a 180ms width spring at every ladder crossing instead of drawing an arbitrary raw number.

npx shadcn@latest add https://design.helpmarq.com/r/chain-scale.json
Preview Chain Scale on ns-ui's site (opens in a new tab)
Loading the source for chain-scale…

chain-scale