Skip to content

API Reference

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

npx cronus-ui add invoice
Skip Invoice fields table
FieldTypeDefaultDescription
slug*
string"invoice"Registry item id. Passed to cronus-ui add.
name*
string"Invoice"Display name shown in the gallery.
description*
string"An invoice receipt with line items, totals, status, and a download action."Short summary of what the block covers.
variants
{ id: string; name: string; description: string }[]["classic", "receipt"]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 Invoice variants table
IdNameDescription
classicDetailed invoiceFull invoice with billing parties, line items, totals, and a download action.
receiptReceiptNarrow thermal-style receipt with mono totals, dashed separators, and a paid stamp.