Skip to content
Velocity X Docs
← All components

Article Table of Contents

Subscription

Sticky outline for long-form pages that tracks reading position automatically — the active section highlights itself as the reader scrolls, with no scroll-handler jank. Collapses to a tap-to-open "Jump to section" list on mobile instead of eating sidebar space that isn't there.

Category
Long-form
Framework
astro
Version
1.0.1
Peer deps
none

Install

bash
velocityx add article-toc

This component is on the Velocity Components subscription. Run velocityx login <your-key> first — subscribe here if you haven't. The licence key is in your receipt email.

Demo

View the live demo on the showcase site ↗

Source

Component source isn't shown here for subscription components — that's the one thing the subscription gates. Install it with the CLI after logging in, or preview the rendered result on the live demo.

Theming

Uses the shared primary-* / accent-* scale — see Theming if colours look unstyled after install.