Skip to content
caliper ui pro docs

Settings screen

Settings that show what changed before you save: an ember mark and the previous value on each field, one bar that names the changes.

Pro
Settings

Workspace settings

Changes apply to everyone in Forma Studio

Shown on invoices and invitations.

forma.app/

Old links redirect for 30 days.

State

When to use

  • Forms people edit occasionally and must get right.
  • Changes affect everyone in a workspace.

When not to use

  • Toggles that should apply at once; use switches that save immediately.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/settings-screen

Adds its 15 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

SettingsScreen

7 props
PropTypeDefaultDescription
titlestring"Settings"
descriptionstring—
sections *readonly { id: string; label: string; description?: string | undefined; }[]—A section with a description gets its own heading above its fields.
fields *readonly SettingsField[]—
onSave *(values: Record<string, string>) => void | Promise<void>—
danger{ title: string; consequence: string; label: string; onConfirm: () => void; }—
classNamestring—

Keyboard

  • Keyboard and focus come from Radix popover: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.

Accessibility

It exposes status, img and region semantics, with aria-label, aria-current, aria-describedby and aria-live 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/settings-screen.md

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

More in Settings & security