Skip to content

API Reference

Catalog metadata for this block. Install copies the source into your project.

npx cronus-ui add account-security
Skip Account security fields table
FieldTypeDefaultDescription
slug*
string"account-security"Registry item id. Passed to cronus-ui add.
name*
string"Account security"Display name shown in the gallery.
description*
string"Two-factor authentication setup and password management with a danger zone."Short summary of what the block covers.
variants
{ id: string; name: string; description: string }[]["two-factor", "password"]Alternate layouts. Install a look with npx cronus-ui add <slug>--<id>. Omitted when the block has a single default.

Variants

Every published look for this block.

Skip Account security variants table
IdNameDescription
two-factorTwo-factor setupStatus card plus QR pairing, setup key, and one-time backup codes.
passwordPassword & danger zonePassword change with strength meter, recovery email, and a danger zone.