Skip to content

API Reference

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

npx cronus-ui add prompt-box
Skip Prompt Box fields table
FieldTypeDefaultDescription
slug*
string"prompt-box"Registry item id. Passed to cronus-ui add.
name*
string"Prompt Box"Display name shown in the gallery.
description*
string"A standalone AI composer with suggestion chips, a model picker, and attach and send actions."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 Prompt Box variants table
IdNameDescription
defaultPrompt BoxA standalone AI composer with suggestion chips, a model picker, and attach and send actions.