TOC scroll progress

Pro

A table of contents with an SVG rail that steps sideways with the heading nesting and fills to your exact reading point with a glowing bead, lighting sections as you pass them and gliding to any entry you click.

A recording of the component itself. With Pro you get its full source and it runs in your app.

What you get

  • Rail drawn from the real heading layout and nesting
  • Fills to your position inside the current section
  • Percent read, minutes left and back to top
  • Collects headings from the page or takes items
  • One TypeScript file in your project, yours to edit. No runtime package.
  • Keyboard, screen reader and reduced motion support; light and dark; your shadcn theme.

Install

npx shadcn@latest add @goodui-pro/toc-scroll-progress

Needs a Pro license key in your registry config: two-minute setup. The file lands in components/goodui/toc-scroll-progress.tsx.

More Pro components

Dynamic island

A black pill that hosts live activities and springs between shapes: compact, split with a bubble, and an expanded panel for a timer, music with a waveform, a call or a toast.

Pro

Gooey nav

Liquid navigation: the active blob stretches with its speed and trails a neck that thins and snaps, and menu items pinch off the main button through an SVG metaball filter.

Pro

Radial menu

A pie menu under the pointer: press, drag toward a slice and release. Slices swell as the pointer nears, and submenus fan out of their slice as a second ring.

Pro