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.
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.