Skip to content

API Reference

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

npx cronus-ui add navbar
Skip Navbar fields table
FieldTypeDefaultDescription
slug*
string"navbar"Registry item id. Passed to cronus-ui add.
name*
string"Navbar"Display name shown in the gallery.
description*
string"A contained, rounded marketing navigation bar with brand mark and CTAs."Short summary of what the block covers.
variants
{ id: string; name: string; description: string }[]["classic", "centered", "with-announcement"]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 Navbar variants table
IdNameDescription
classicPill with actionsRounded navbar with brand badge, primary links and sign-in actions.
centeredCentered pillFloating pill navbar with centered links on a blurred overlay surface.
with-announcementWith announcementAnnouncement bar with a badge and link above the navigation row.