Skip to content
Design System
GitHub

Scroll area

v0.17.3

A bounded region with a thin themed scrollbar, vertical, horizontal or both, with optional fading edges.

  • 14:00:00Waypoint reached
  • 14:00:37Battery 64 %
  • 14:01:14Door 3 opened
  • 14:01:51Obstacle cleared
  • 14:02:28Lift called · floor 4
  • 14:03:05Waypoint reached
  • 14:03:42Battery 64 %
  • 14:04:19Door 3 opened
  • 14:04:56Obstacle cleared
  • 14:05:33Lift called · floor 4
  • 14:06:10Waypoint reached
  • 14:06:47Battery 64 %
  • 14:07:24Door 3 opened
  • 14:08:01Obstacle cleared
  • 14:08:38Lift called · floor 4
  • 14:09:15Waypoint reached
  • 14:09:52Battery 64 %
  • 14:10:29Door 3 opened
  • 14:11:06Obstacle cleared
  • 14:11:43Lift called · floor 4
  • 14:12:20Waypoint reached
  • 14:12:57Battery 64 %
  • 14:13:34Door 3 opened
  • 14:14:11Obstacle cleared
  • 14:14:48Lift called · floor 4
  • 14:15:25Waypoint reached
  • 14:16:02Battery 64 %
  • 14:16:39Door 3 opened
  • 14:17:16Obstacle cleared
  • 14:17:53Lift called · floor 4

Scroll area vertical

Install
npx shadcn add @syncrobotic/scroll-area

Also installs: radix-ui, @syncrobotic/cn

Overview

A region that scrolls inside a fixed size, with a scrollbar that matches the theme on every platform.

When to use

  • A long log or list inside a card.
  • A row of thumbnails that pans sideways.
  • A wide table inside a panel.

Use something else

  • The whole page: let the page scroll.
  • A data table with sorting: Table, which scrolls by itself.

More examples

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

Cam 1 · 14:00
Cam 2 · 14:01
Cam 3 · 14:02
Cam 4 · 14:03
Cam 5 · 14:04
Cam 6 · 14:05
Cam 7 · 14:06
Cam 8 · 14:07
Cam 9 · 14:08
Cam 10 · 14:09

Scroll area horizontal

RobotBatterySpeedTempSignalLidarOdometer
Robot 0190 %0.80 m/s38 °C−60 dBmOK1200 km
Robot 0285 %0.85 m/s39 °C−61 dBmOK1237 km
Robot 0380 %0.90 m/s40 °C−62 dBmOK1274 km
Robot 0475 %0.95 m/s41 °C−63 dBmOK1311 km
Robot 0570 %1.00 m/s42 °C−64 dBmOK1348 km
Robot 0665 %1.05 m/s43 °C−65 dBmOK1385 km
Robot 0760 %1.10 m/s44 °C−66 dBmOK1422 km
Robot 0855 %1.15 m/s45 °C−67 dBmOK1459 km
Robot 0950 %1.20 m/s46 °C−68 dBmOK1496 km
Robot 1045 %1.25 m/s47 °C−69 dBmOK1533 km
Robot 1140 %1.30 m/s48 °C−70 dBmOK1570 km
Robot 1235 %1.35 m/s49 °C−71 dBmOK1607 km

Scroll area both

Firmware 4.8.0

Smoother stairs, faster relocalisation after a door, and lower idle draw on the lidar.

Firmware 4.7.0

Smoother stairs, faster relocalisation after a door, and lower idle draw on the lidar.

Firmware 4.6.0

Smoother stairs, faster relocalisation after a door, and lower idle draw on the lidar.

Firmware 4.5.0

Smoother stairs, faster relocalisation after a door, and lower idle draw on the lidar.

Firmware 4.4.0

Smoother stairs, faster relocalisation after a door, and lower idle draw on the lidar.

Firmware 4.3.0

Smoother stairs, faster relocalisation after a door, and lower idle draw on the lidar.

Firmware 4.2.0

Smoother stairs, faster relocalisation after a door, and lower idle draw on the lidar.

Firmware 4.1.0

Smoother stairs, faster relocalisation after a door, and lower idle draw on the lidar.

Scroll area fade edges

North gate
Hall B
Dock 2
Parking
Perimeter E
Lift lobby
Roof

Scroll area camera strip

AllPatrollingDockedNeeds attentionStoppedOfflineUpdating

Scroll area chips

  • Desk7F3A, is door 3 clear?
  • 7F3APallet in the way. Waiting.
  • DeskForklift on its way, 2 min.
  • 7F3APath clear. Resuming.
  • DeskThanks. Skip the roof tonight.
  • 7F3ARoof removed from route.

Scroll area thread

Usage rules

  • Give it a fixed height (or width) and an aria-label.
  • The viewport takes focus so the keyboard can scroll it.

Changelog

  • 0.17.32026-11-19Each edge fades only while content is hidden past it (the start faded at scroll 0).
  • 0.15.02026-11-19The viewport shows keyboard focus again.
  • 0.9.02026-11-17New.

How to upgrade