Settings

Built-in settings management — profile summary, AI provider keys, and a danger zone for account deletion.

  • Profile summary — identity card showing name, email, and avatar (with a fallback icon).
  • AI provider keys — bring-your-own-key cards for each supported provider, with save, test, and remove actions.
  • Danger zone — destructive account deletion with a confirmation dialog.

Passkeys and linked accounts also appear on this page when their feature flags are enabled — see the auth demo for those. The full BYOK and quota model is shown on the usage demo.

AccountSummary

Read-only identity card with name, email, and avatar. Falls back to the email address when the name is unset and to a user icon when no avatar is uploaded.

Name and email shown.

Ada Lovelace
ada@example.com

AI provider keys

Each card lets the user save, test, and remove a per-provider API key. The heading reflects the last test result; the input collapses once a key is saved.

No key saved — input visible.

Anthropic

Used for Chat

Get a key

AccountDangerZone

Permanent deletion gated by a confirmation dialog. The button is disabled while the request is in flight; errors surface inline above the actions.

Default state — button visible, dialog closed.

Permanently delete your account and all associated data. This action cannot be undone.

AboutDocDemo