Skip to content

API Reference

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

npx cronus-ui add billing
Skip Billing fields table
FieldTypeDefaultDescription
slug*
string"billing"Registry item id. Passed to cronus-ui add.
name*
string"Billing"Display name shown in the gallery.
description*
string"Subscription management, usage meters, invoices, and a plan selector."Short summary of what the block covers.
variants
{ id: string; name: string; description: string }[]["subscription", "empty", "plans"]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 Billing variants table
IdNameDescription
subscriptionSubscriptionCurrent plan, usage meters, payment method, and a downloadable invoice history.
emptyEmptyFree trial, no payment method, and an empty invoice table.
plansPlan selectorThree-tier plan picker with a highlighted popular plan and a monthly/annual toggle.