Skip to content

API Reference

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

npx cronus-ui add order-history
Skip Order history fields table
FieldTypeDefaultDescription
slug*
string"order-history"Registry item id. Passed to cronus-ui add.
name*
string"Order history"Display name shown in the gallery.
description*
string"Customer purchase history as a dense table with row actions, an empty orders table, or stacked order cards with thumbnails and reorder."Short summary of what the block covers.
variants
{ id: string; name: string; description: string }[]["table", "empty", "cards"]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 Order history variants table
IdNameDescription
tableTableDense orders table with status badges and a per-row actions menu.
emptyEmptyThe same orders table with no purchases yet.
cardsCardsStacked order cards with item thumbnails and one-tap reorder.