Skip to content
Design System
GitHub

Scrollspy

v0.15.0Beta

An On this page list that follows the reader through the sections of a page or a scroll area, and the useScrollspy hook behind it.

Overview

Patrol dog 7F3A · overview readings for the last shift, refreshed every minute while the robot is online.

Battery

Patrol dog 7F3A · battery readings for the last shift, refreshed every minute while the robot is online.

Sensors

Patrol dog 7F3A · sensors readings for the last shift, refreshed every minute while the robot is online.

Lidar

Patrol dog 7F3A · lidar readings for the last shift, refreshed every minute while the robot is online.

Cameras

Patrol dog 7F3A · cameras readings for the last shift, refreshed every minute while the robot is online.

Maintenance

Patrol dog 7F3A · maintenance readings for the last shift, refreshed every minute while the robot is online.

Scrollspy sidebar

Install
npx shadcn add @syncrobotic/scrollspy

Also installs: @syncrobotic/cn

Overview

When to use

  • Long settings or detail pages.
  • Docs pages.
  • A robot's detail panel with many sections.

Use something else

  • Separate views people switch between: Tabs.

More examples

States and real uses. Each example is also a Storybook story and a visual regression test.

Overview

Patrol dog 7F3A · overview readings for the last shift, refreshed every minute while the robot is online.

Battery

Patrol dog 7F3A · battery readings for the last shift, refreshed every minute while the robot is online.

Sensors

Patrol dog 7F3A · sensors readings for the last shift, refreshed every minute while the robot is online.

Lidar

Patrol dog 7F3A · lidar readings for the last shift, refreshed every minute while the robot is online.

Cameras

Patrol dog 7F3A · cameras readings for the last shift, refreshed every minute while the robot is online.

Maintenance

Patrol dog 7F3A · maintenance readings for the last shift, refreshed every minute while the robot is online.

Scrollspy pills

Patrol dog 7F3AOverview

Overview

Patrol dog 7F3A · overview readings for the last shift, refreshed every minute while the robot is online.

Battery

Patrol dog 7F3A · battery readings for the last shift, refreshed every minute while the robot is online.

Sensors

Patrol dog 7F3A · sensors readings for the last shift, refreshed every minute while the robot is online.

Lidar

Patrol dog 7F3A · lidar readings for the last shift, refreshed every minute while the robot is online.

Cameras

Patrol dog 7F3A · cameras readings for the last shift, refreshed every minute while the robot is online.

Maintenance

Patrol dog 7F3A · maintenance readings for the last shift, refreshed every minute while the robot is online.

Scrollspy hook only

Overview

Patrol dog 7F3A · overview readings for the last shift, refreshed every minute while the robot is online.

Battery

Patrol dog 7F3A · battery readings for the last shift, refreshed every minute while the robot is online.

Sensors

Patrol dog 7F3A · sensors readings for the last shift, refreshed every minute while the robot is online.

Lidar

Patrol dog 7F3A · lidar readings for the last shift, refreshed every minute while the robot is online.

Cameras

Patrol dog 7F3A · cameras readings for the last shift, refreshed every minute while the robot is online.

Maintenance

Patrol dog 7F3A · maintenance readings for the last shift, refreshed every minute while the robot is online.

Scrollspy no title

General

Name and photo

Time zone

Safety

Speed limits

No-go zones

Emergency stop

Alerts

Scrollspy settings

Before the first patrol of the night shift

When a robot reports an obstacle it cannot pass

After an emergency stop

Scrollspy long names

Usage rules

  • Each section needs an id and a heading.
  • Pass root when the page scrolls inside a container.
  • Hide the rail on phones, or use the pills variant.

Changelog

  • 0.15.02026-11-19Links show keyboard focus again.
  • 0.10.02026-11-18Chips use radius 8.
  • 0.9.02026-11-17New.

How to upgrade