Skip to content
caliper ui docs

Pro

Activity terrain

Activity drawn as a 3D landscape.

Pro
pnpm dlx shadcn@latest add @caliper/activity-terrain

Platform team

Weekdays carry the work; the jump in September is the billing migration

Commits over the last 26 weeks

Commits over the last 26 weeks
Week startingMonTueWedThuFriSatSun
Monday, April 27172927341151
Monday, May 4233038322846
Monday, May 11452927293522
Monday, May 18442336352135
Monday, May 25424042412865
Monday, June 1312336392615
Monday, June 8462236264134
Monday, June 15474637223622
Monday, June 22243823173811
Monday, June 29143539173337
Monday, July 6223630372416
Monday, July 13253211322878
Monday, July 2019138171925
Monday, July 2711823-12504
Monday, August 327112723502
Monday, August 1026627261116
Monday, August 1717138162276
Monday, August 24131633143085
Monday, August 31132515171213
Monday, September 7323342374162
Monday, September 14334237564432
Monday, September 21655638473936
Monday, September 28545641454115
Monday, October 5526068406246
Monday, October 12636964594432
Monday, October 19524951644704
Installs components/ui/activity-terrain.tsxDepends on @radix-ui/react-slot, d3-shape, lucide-reactMotion none in component source

When to use

Use it for

  • A showpiece for rhythm over a year.

Skip it when

  • Exact values matter.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/activity-terrain

Adds its 4 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.

Usage

Import it from your copy of the source. The example behind the preview comes with the source.

example.tsx
import { ActivityTerrain } from "@/components/ui/activity-terrain"

The worked example comes with Pro

The 29-line example behind the preview opens here, ready to copy.

  • 626 Pro parts, blocks and page templates, all with source
  • $149 once, with lifetime updates. No renewal
  • A full refund within 14 days if it is not for you
Checking your licence…

API reference

ActivityTerrain

component
PropTypeDefault
label *string—
weeks *readonly (readonly number[])[]—
dates *string—
unitstring"events"
classNamestring—

Accessibility

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

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

Motion

It declares no animation in its component source. Any transition comes from its stylesheet, which uses the duration tokens that collapse to instant under prefers-reduced-motion.

All Showpiece data examples