Skip to content

API Reference

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

npx cronus-ui add hero
Skip Hero fields table
FieldTypeDefaultDescription
slug*
string"hero"Registry item id. Passed to cronus-ui add.
name*
string"Hero"Display name shown in the gallery.
description*
string"A centered marketing hero with eyebrow, headline, copy and CTAs."Short summary of what the block covers.
variants
{ id: string; name: string; description: string }[]["centered", "split", "compact", "atmosphere"]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 Hero variants table
IdNameDescription
centeredCentered launchClassic centered SaaS hero with trust proof and two CTAs.
splitSplit dashboardTwo-column hero with a compact product-quality panel.
compactCompact registryContained hero card for docs, registries and template libraries.
atmosphereAtmosphereCentered launch hero over a receding grid floor, shooting stars, and a typing headline.