Back to changelog

Zigzag Rail Component

October 20, 2026

Feature
  • Zigzag Rail: Added UiZigZagRail, the rail used by the docs table of contents. Wrap a list of links with data-depth and data-active (set for you by UiScrollspy in mode="multiple") and the rail draws a line that shifts with the nesting depth and highlights every active section. Supports a dashed track, a custom link selector and RTL.
  • Scrollspy: The active section is now recomputed right after the anchors change and after the first layout, so highlights are correct after route changes without waiting for a scroll event.
zigzag-rail
scrollspy