Skip to content
caliper ui pro docs

Semantic zoom

A view that shows more detail as you zoom in.

Pro

Press + to zoom into the first group and − to step back.

When to use

  • Moving from overview to record without losing place.

When not to use

  • The data is small.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/semantic-zoom

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

SemanticZoom

4 props
PropTypeDefault
label *string—
root *ZoomNode—
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 list semantics, with aria-label, aria-hidden and aria-current 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/semantic-zoom.md

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

More in Showpiece data