Skip to content
caliper ui docs

Blocks

Page parts

Dashboard, password reset and verification screens.

Pro
pnpm dlx shadcn@latest add @caliper/page-parts

Overview

How the product is doing this month.

Compared with the previous 30 days
  • Visits18,2408.2%up, good vs previous period
  • Sign-ups6124.1%up, good vs previous period
  • Conversion3.4%0.3%down, worse vs previous period
  • Revenue$42.1k11.6%up, good vs previous period
Visits and sign-ups
Visits and sign-ups
PointVisitsSign-upsEvent
Oct 894771
Oct 9111579
Oct 10105783
Oct 11114777
Oct 12106787
Oct 13113291
Oct 14124993
Oct 15131899
Oct 16125391
Oct 17131693
Oct 18142095
Oct 191422102
Oct 201453108
Oct 211576117
Installs components/ui/page-parts.tsxDepends on @radix-ui/react-slot, lucide-reactMotion none in component source

When to use

Use it for

  • Building common application pages quickly.

Skip it when

  • You need a custom layout.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/page-parts

Adds its 11 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 DashboardLayout, ForgotPassword, VerifyEmail, WaitlistPage, StatusPage, OnboardingWizard, TeamGrid and JobBoard.

example.tsx
import { DashboardLayout, ForgotPassword, VerifyEmail, WaitlistPage, StatusPage, OnboardingWizard, TeamGrid, JobBoard } from "@/components/ui/page-parts"

The worked example comes with Pro

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

DashboardLayout

component
PropTypeDefault
title *string—
descriptionstring—
actionsReactNode—
kpisReactNode—
main *ReactNode—
asideReactNode—
classNamestring—

ForgotPassword

component
PropTypeDefault
onSubmit *(email: string) => Promise<void>—
backHrefstring"#"
classNamestring—

VerifyEmail

component
PropTypeDefault
email *string—
onVerify *(code: string) => Promise<boolean>—
onResend *() => Promise<void>—
waitnumber30
classNamestring—

WaitlistPage

component
PropTypeDefault
title *string—
description *string—
onJoin *(email: string) => Promise<{ position: number; link: string; total: number; }>—
classNamestring—

StatusPage

component
PropTypeDefault
services *readonly ServiceStatus[]—
incidents *readonly Incident[]—
onSubscribe((email: string) => Promise<void>)—
classNamestring—

OnboardingWizard

component
PropTypeDefault
steps *readonly (OnboardingStep & { optional?: boolean | undefined; })[]—
onFinish *() => void—
classNamestring—

TeamGrid

component
PropTypeDefault
people *readonly Person[]—
classNamestring—

JobBoard

component
PropTypeDefault
jobs *readonly Job[]—
onApply *(job: Job) => void—
classNamestring—

Accessibility

It exposes status, alert, img and group semantics, with aria-label, aria-hidden, aria-invalid, aria-current, aria-labelledby and aria-pressed kept in step with state. Changes that matter are announced through a live region.

No custom key handling; Tab and the native activation keys do the work.

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