Skip to content
caliper ui pro docs

Globe

A rotating globe with labelled points sized by value.

Pro

Customers by city

Halden accounts with a billing address, October 2026

5 places · 7,490 in all

When to use

  • Showing where customers or events are in the world.
  • A marketing or overview page with room for a showpiece.

When not to use

  • Exact regional comparison matters; use a choropleth or table.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/globe

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

Globe

4 props
PropTypeDefault
label *string—
points *readonly GlobePoint[]—
format((n: number) => string)(n) => n.toLocaleString("en-US")
classNamestring—

Keyboard

→
Moves to the next item or value.
←
Moves to the previous item or value.
↑
Moves to the previous item or value.
↓
Moves to the next item or value.

Accessibility

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

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/globe.md

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

More in Showpiece data