Skip to content

API Reference

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

npx cronus-ui add reviews
Skip Reviews fields table
FieldTypeDefaultDescription
slug*
string"reviews"Registry item id. Passed to cronus-ui add.
name*
string"Reviews"Display name shown in the gallery.
description*
string"Customer reviews: aggregate rating with distribution bars plus top reviews, an empty reviews state, or a dense compact grid of short reviews."Short summary of what the block covers.
variants
{ id: string; name: string; description: string }[]["summary", "empty", "compact"]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 Reviews variants table
IdNameDescription
summarySummaryAggregate rating with a distribution chart next to the top reviews.
emptyEmptyThe same reviews chrome with no reviews yet.
compactCompact gridDense grid of short reviews for landing and product pages.