Skip to content
caliper ui docs

Pro

Depth timeline

Time as distance. The current row is near and sharp, what comes later recedes along the road, and what has shipped slips behind you. Distance follows certainty too: far rows are labelled Planned or Exploring, and every date and status is written out.

Pro
pnpm dlx shadcn@latest add @caliper/depth-timeline

Product roadmap

What shipped this month, what is next, and what is still an idea.

2 of 6 · Oct 16
Installs components/ui/depth-timeline.tsxDepends on @radix-ui/react-slot, lucide-reactMotion none in component source

When to use

Use it for

  • Roadmaps and release plans where the near term is firm and the far term is not.
  • Showing how much of a plan is committed.

Skip it when

  • A history log; use the timeline.
  • Dates that must be compared side by side; use a table.

Decisions

Why it is built this way, so you know what to keep when you change your copy.

Behaviour

Depth never carries a fact alone
Date, distance in words and status are always text. Depth only adds the feel of how far away something is.
Every row is in the reading order
It is an ordered list; far rows stay reachable by click and by screen reader, and the current row is aria-current.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/depth-timeline

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.

Usage

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

example.tsx
import { DepthTimeline } from "@/components/ui/depth-timeline"

The worked example comes with Pro

The 34-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

DepthTimeline

component
PropTypeDefaultDescription
label *string—
items *readonly DepthTimelineItem[]—
currentnumber—Index of the current row. Controlled when set.
defaultCurrentnumber0
onCurrentChange((index: number) => void)—
statusDepthStatus"ready"
messagesDepthMessages—
onRetry(() => void)—
disabledboolean—
classNamestring—

Accessibility

It exposes group semantics, with aria-current, aria-roledescription, aria-label and aria-live 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 next item or value.
←Moves to the previous item or value.
↑Moves to the previous item or value.
HomeJumps to the first item or the minimum.
EndJumps to the last item or the maximum.

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 Surfaces examples