Skip to content
caliper ui pro docs

Small multiples

A grid of the same chart for different groups.

Pro
Tickets solved per team
Tickets solved per team
PeriodPlatformWebMobileDataSupportSalesDesignFinance
Jan5956536258505955
Feb6461596866545149
Mar6357636963544842
Apr6860636670534536
May7056657471554037
Jun7054637168594340
Jul6556597465583740
Aug6961658274503035
Sep6564628482473331
Oct7065599085423731
Nov7166619287393429
Dec7570649590373227

When to use

  • Comparing shapes across many groups.

When not to use

  • A single series.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/small-multiples

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

SmallMultiples

5 props
PropTypeDefault
label *string—
series *readonly MultipleSeries[]—
xLabels *readonly string[]—
format((n: number) => string)(n) => n.toLocaleString("en-US")
classNamestring—

Keyboard

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

Accessibility

It exposes img semantics, with aria-label, aria-pressed and aria-hidden 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/small-multiples.md

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

More in Showpiece charts