Horizontal scroll block
A section that turns the page's scroll sideways: while pinned, scrolling down moves a row of panels from right to left with a thin progress line, then the page carries on.
Use cases
One ledger, many teams
Agencies
Client entities side by side, each with its own rules.
Logistics
Fuel cards and freight invoices matched by route.

Research
Grants tracked by project, with spend against budget.

Retail
Daily takings reconciled across stores and terminals.
Non-profits
Restricted funds kept apart, reported the way boards ask.
When to use
- A sequence of four to eight panels: a process, a timeline, a set of use cases.
- A landing page that wants one change of pace.
When not to use
- More than one per page.
- Content people need to compare.
Installation
pnpm dlx shadcn@latest add @caliper/horizontal-scroll-block
Adds its 6 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
HorizontalScrollBlock
5 props
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements and keeps aria-label and aria-hidden in step with state.
Motion
- State changes animate with the library's shared durations and curves, so its timing matches every other part.
- Under reduced motion each change lands on its end state without movement; nothing is hidden or skipped.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/horizontal-scroll-block.mdThe index of every part is at /llms.txt.