Skip to content

API Reference

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

npx cronus-ui add sessions
Skip Sessions fields table
FieldTypeDefaultDescription
slug*
string"sessions"Registry item id. Passed to cronus-ui add.
name*
string"Sessions"Display name shown in the gallery.
description*
string"Active device sessions with per-session and bulk revoke, plus an empty sessions list."Short summary of what the block covers.
variants
{ id: string; name: string; description: string }[]["list", "empty", "table"]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 Sessions variants table
IdNameDescription
listDevice listSigned-in devices with client, location, last activity, and revoke.
emptyEmptyThe same sessions chrome with no devices signed in.
tableSelectable tableSession table with bulk selection and a revoke-selected action.