Skip to content
caliper ui pro docs

Security settings

Password, two-factor, sessions and devices in one page.

Pro

Account security

Maya Chen · maya@northwind.co · password last changed 14 August 2026

Password

Use a long, unique password. Changing it signs out your other devices.

No password yet

  • At least 12 characters, not met
  • Uppercase and lowercase letters, not met
  • A number, not met
  • A symbol, not met

Two-step sign-in

Ask for a code from an authenticator app after your password.

Off. Anyone with your password could sign in.

Where you are signed in

End any session you do not recognise.

Lisbon, Portugal · Active now

This device

Lisbon, Portugal · 2 hours ago

Madrid, Spain · 6 days ago

When to use

  • Account security.

When not to use

  • Preferences unrelated to security.

Installation

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

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

SecuritySettings

6 props
PropTypeDefaultDescription
onChangePassword *(current: string, next: string) => string | void | Promise<string | void>—Return an error message to show, or nothing on success.
twoFactor *{ enabled: boolean; secret: string; recoveryCodes: readonly string[]; onVerify: (code: string) => Promise<boolean>; onDisable: () => void; }—
sessions *readonly SecuritySession[]—
onSignOut *(id: string) => void—
onSignOutOthers *() => void—
classNamestring—

Keyboard

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

Accessibility

It exposes alert and status semantics, with aria-invalid, aria-hidden and aria-label 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/security-settings.md

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

More in Settings & security