Skip to content

API Reference

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

npx cronus-ui add nps-survey
Skip NPS Survey fields table
FieldTypeDefaultDescription
slug*
string"nps-survey"Registry item id. Passed to cronus-ui add.
name*
string"NPS Survey"Display name shown in the gallery.
description*
string"An NPS card with a 0–10 score scale and an open-ended reason field."Short summary of what the block covers.
variants
{ id: string; name: string; description: string }[]—Alternate layouts. Install a look with npx cronus-ui add <slug>--<id>. Omitted when the block has a single default.

Variants

This block ships a single default layout.

Skip NPS Survey variants table
IdNameDescription
defaultNPS SurveyAn NPS card with a 0–10 score scale and an open-ended reason field.