Skip to content
caliper ui pro docs

Scroll velocity

Rows that drift sideways and answer the page's scroll: faster scrolling pushes them faster and leans them a little, scrolling up turns them round, and they ease back to a slow drift when the page rests.

Pro
  • Billing
  • Dashboards
  • Onboarding
  • Approvals
  • Inbox
  • Reports
  • Settings
  • Helpdesk
  • CRM
  • Close checklist
  • Payouts
  • Audit trail
  • Usage
  • Roles

When to use

  • A landing section listing what people build, integrations or customers.
  • Once per page, between denser sections.

When not to use

  • Content people must read or click; it moves.
  • Product screens.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/scroll-velocity

Adds its 2 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

ScrollVelocity

4 props
PropTypeDefault
rows *readonly ReactNode[][]—
label *string—
speednumber40
classNamestring—

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 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/scroll-velocity.md

The index of every part is at /llms.txt.

More in Surfaces