Skip to content

API Reference

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

npx cronus-ui add api-keys
Skip API keys fields table
FieldTypeDefaultDescription
slug*
string"api-keys"Registry item id. Passed to cronus-ui add.
name*
string"API keys"Display name shown in the gallery.
description*
string"API key management with masked secrets, scopes, a scoped create flow, and an empty keys list."Short summary of what the block covers.
variants
{ id: string; name: string; description: string }[]["list", "empty", "create"]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 API keys variants table
IdNameDescription
listKey listMasked keys with reveal and copy, scope badges, and usage metadata.
emptyEmptyThe same API keys chrome with no keys yet.
createCreate keyScoped key creation with expiry and a one-time generated-key reveal.