Skip to content
caliper ui docs

Pro

App template

Eight screens wired into one product: Today, Agents, Inbox, Customers, Invoices, Team, Billing and Settings. One set of data drives them all, routing lives in the URL, ⌘K jumps to any screen or record, counts follow the data and focus lands on each screen's heading.

Pro
pnpm dlx shadcn@latest add @caliper/app-template
Today

Today

Friday, 9 October · updated 6 min ago

Collected today is up 4.2% on last Friday. 2 agent runs wait for your approval, and 7 invoices are overdue.

Collected today
$18,240
up +4.2%
Owed
$1,717,505
16 open invoices
Overdue
$372,115
7 invoices
Days to pay
42 days
Issue to payment

Collected by hour

dashed: last time
  • 08:00 Reconciliation agent matched 31 deposits
Collected by hour
TimeThis periodLast time
00:00$0$0
01:00$0$0
02:00$0$0
03:00$0$0
04:00$0$0
05:00$0$0
06:00$0$0
07:00$9,800$8,200
08:00$16,200$12,100
09:00$18,240$17,500

Needs you 5

  • WaitingSend payment reminders for 5 invoices more than 7 days overdueCollections agent · started 09:36
  • WaitingReply to Marta Silva about the surcharge on INV-1031Replies agent · started 09:40
  • FailedRetry 2 failed card paymentsCollections agent · The card was declined by the issuer. Nothing was charged.
  • LateINV-1021 · Meridian Credit Union$30,310 · 57 days overdue
  • LateINV-1024 · Ostra Freight Holdings International Logistics & Warehousing Group$49,900 · 41 days overdue

Due this week

Recent activity

Installs components/ui/app-template.tsxDepends on @radix-ui/react-dialog, @radix-ui/react-dropdown-menu, @radix-ui/react-popover, @radix-ui/react-slot, lucide-reactMotion none in component source

When to use

Use it for

  • Starting a product with a sidebar and real screens, not a blank shell.
  • Prototyping flows across screens with believable data before the backend exists.

Skip it when

  • Apps with one or two screens; use the screen directly.
  • Content sites; use the docs or landing templates.

Installation

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

Adds its 42 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. It is built from AppTemplate and goToPlace.

example.tsx
import { AppTemplate, goToPlace } from "@/components/ui/app-template"

The worked example comes with Pro

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

AppTemplate

component
PropTypeDefaultDescription
workspace *{ name: string; mark?: ReactNode; }—
places *readonly AppPlace[]—
plan{ name: string; used: number; limit: number; note?: string | undefined; }—
userReactNode—
onSearch(() => void)—
initialstring—
onPlaceChange((id: string) => void)—Called with the place's id after any move: a click, G then a letter, Back, or a link to its hash.
classNamestring—

goToPlace

component

No props of its own; it accepts the native props of its root element.

Accessibility

It is built on native elements and keeps aria-live in step with state. Changes that matter are announced through a live region.

Keyboard and focus handling comes from Radix dialog, dropdown-menu and popover: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.

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 Workspace chrome examples