Skip to content
caliper ui pro docs

Bump chart

Rank changes of several series across periods.

Pro
Market share rank

Market share rank
PeriodAtlas rankHarbour rankWayfinder rank
Q1123
Q2213
Q3123
Q4132

When to use

  • Leaderboards and market share over time.
  • Showing order, not magnitude.

When not to use

  • Values matter more than rank.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/bump-chart

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

BumpChart

8 props
PropTypeDefault
label *string—
periods *readonly string[]—
data *readonly BumpSeries[]—
unitstring""
formatValue((value: number) => string)numberText
loadingboolean—
errorstring—
classNamestring—

Keyboard

←
Moves to the previous item or value.
→
Moves to the next item or value.
Escape
Closes or cancels, then returns focus to where it came from.

Accessibility

It exposes group and status semantics, with aria-label, aria-busy, aria-hidden and aria-pressed kept in step with state. Changes that matter are announced through a live region.

Notes for AI

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

/docs/components/bump-chart.md

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

More in Category charts