Skip to content
caliper ui pro docs

App frame

The shell every screen sits in: workspace, navigation with counts, the plan's seats and search; a bottom tab bar under 760px.

Pro
Today

Today

Friday, 9 October · 3 things wait on you

  • Approve the October release notesAgent run · waiting 4 minReview
  • Lumen Labs · $624 failedCard declined · retry in 2 daysEmail
  • Seat request from Ines Carvalho4 seats for the Porto officeOpen
State

When to use

  • A product with five to nine top-level places.
  • You want screens to share one frame and one search.

When not to use

  • Marketing pages; use the blocks.
  • Two or three places; a top bar with tabs is lighter.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/app-frame

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

AppFrame

11 props
PropTypeDefaultDescription
workspace *{ name: string; mark?: ReactNode; }—
workspaceMenuReactNode—A control in place of the workspace name, such as a workspace switcher.
nav *readonly AppNavItem[]—
location *string—The current place, e.g. "Billing", shown after the workspace.
plan{ name: string; used: number; limit: number; note?: string | undefined; }—
userReactNode—
searchLabelstring"Search or jump to…"
onSearch(() => void)—Opens your command palette. The ⌘K shortcut calls it too.
phoneTabsnumber4How many items the phone tab bar shows before More.
children *ReactNode—
classNamestring—

ScreenHeader

4 props
PropTypeDefault
title *ReactNode—
descriptionReactNode—
actionsReactNode—
classNamestring—

ScreenPanel

4 props

Also accepts the native props of its root element and a ref.

PropTypeDefault
titleReactNode—
asideReactNode—
children *ReactNode—
classNamestring—

ScreenStatus

9 props
PropTypeDefaultDescription
stateScreenState"ready"
layoutScreenLayout"table"
title *ReactNode—The screen's title, kept in every state so the page never loses its name.
descriptionReactNode—
messagesScreenMessages—
actionReactNode—What to do from the empty state, such as "Import contacts".
onRetry(() => void)—
classNamestring—
children *ReactNode—

Keyboard

Escape
Closes or cancels, then returns focus to where it came from.

Accessibility

It exposes meter, status and alert semantics, with aria-hidden, aria-label, aria-valuemin, aria-valuemax, aria-valuenow and aria-valuetext kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/app-frame.md

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

More in Workspace chrome