∞ forever components

Navigation

Scroll Spy Rail

A scrollable document pane with a five-tick rail; the tick of the section in view stretches into an accent bar, and ticks scroll the pane when clicked.

csslight complexitymoderate motionpointer+keyboardaccessible

Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited

Live demo — the real component, running in a sandbox. One self-contained HTML file, zero dependencies. Open it on the canvas →
1

When to use it

Working with an AI agent

Every component ships agent-ready metadata. An example instruction for this one:

Keep the spy() section detection and the roving tab index on ticks. Safe to change section names in NAMES, line widths in PAT and the accent token.

Safe to edit

  • tokens
  • labels

Keep intact

  • demo-v1 idle demo and takeover
  • theme hook
  • reduced-motion and visibilitychange guards
  • nx06- prefix

scroll spytable of contentssection railnavigationprogress ticksdocument nav

More Navigation components

  • Magnify DockmacOS-style frosted-glass dock of six gradient tiles that scale up and lift toward the cursor; idle sweep that stops at first deliberate input keeps it…
  • Hamburger MorphThree-line hamburger button spring-morphs into a glowing teal X on click; button border gains teal glow when open. Auto-cycles as demo.
  • Radial Fan MenuA core button rotates to an X and fans five glowing stone-toned icon petals outward in a staggered spring arc; auto-cycles open/close as a demo.
  • Slide-in DrawerHamburger icon morphs to an X while a side panel slides in over a dark scrim, revealing four nav items with staggered fade-in animations.
  • Underline FollowA flat saffron underline slides and resizes to follow hovered nav links; wanders until first deliberate input across links when unhovered.
  • Sliding PillA 3-segment Day/Week/Month toggle where a raised cobalt-glaze thumb with contact and ambient shadows slides between options with a spring bounce in a…