Vertical Dial Nav
- group .........
- Menus and navigation
- source ........
- https://ui.aryank.space/components/vertical-dial-nav
- markdown ......
- /lab/vertical-dial-nav.md
- human .........
- /lab/vertical-dial-nav
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
Scroll-linked section navigation with distance-faded labels. The active section gains weight and scale as it crosses 30% of the viewport. Click a label to scroll to its section. Pure React, with support for nested scroll containers.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Source mechanism
The linked Framer navigation selects the last section whose top crosses 30% of the viewport. Its labels stay in place, with distance-based opacity, active weight 500, scale 1.06 and a 0.4-second cubic-bezier transition.
* Scroll roots
Use a scrollRoot ref for bounded sections. Selection measures that container, and link activation scrolls only that root.
* Motion and focus
Reduced motion removes smooth scrolling and transitions. Keyboard focus remains visible. Scroll listeners and scheduled frames clean up on unmount.
* Font
The component inherits your font styling. The demo uses the original Geist 400 and 500 files hosted on Vercel Blob.