Skip to content
caliper ui pro docs

Pendulum wave

A row of pendulums seen from above, each a little quicker than the last. They start in line, drift into a travelling wave, braid into snakes, scatter, and come back into line at the end of each cycle.

Pro

1,204 of 2,481 photos

When to use

  • Long waits where progress cannot be measured: syncing, indexing, importing.
  • A calm piece of motion for an about page or an empty state.

When not to use

  • Short waits; use the loader.
  • Measurable progress; show the progress bar instead.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/pendulum-wave

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

PendulumWave

3 props

Also accepts the native props of its root element and a ref.

PropTypeDefaultDescription
label *string—What it stands for, e.g. "Syncing your library"; the drawing itself is not read.
countnumber16
cyclenumber36Seconds until every pendulum is back in line.

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes img semantics, with aria-label kept in step with state.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/pendulum-wave.md

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

More in Changing values