Skip to content

API Reference

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

npx cronus-ui add toast-stack
Skip Toast Stack fields table
FieldTypeDefaultDescription
slug*
string"toast-stack"Registry item id. Passed to cronus-ui add.
name*
string"Toast Stack"Display name shown in the gallery.
description*
string"A stack of success, error, warning, and info toasts with icons and dismiss 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 Toast Stack variants table
IdNameDescription
defaultToast StackA stack of success, error, warning, and info toasts with icons and dismiss actions.