N
ns-ui

Header Scroll Pill · ns-ui

A page header that morphs between a full-width quiet nav bar at the top and a floating centered pill once scrolled: spring-like width/radius/padding morph, section label roll, and a progress hairline, with hysteresis so it never flutters at the threshold and a fast upward scroll flicks it back open with overshoot.

npx shadcn@latest add https://design.helpmarq.com/r/header-scroll-pill.json
Preview Header Scroll Pill on ns-ui's site (opens in a new tab)
Loading the source for header-scroll-pill…

header-scroll-pill