Skip to content
Premium & Brand

Explore Nav

Product navbar that morphs from a compact bar into a family carousel.

Import

tsx
import { ExploreNav } from "@cronus-ui/ui";
bash
npx cronus-ui add explore-nav

Examples

API Reference

Generated from the component's exported types.

ExploreNavProps

Extends Omit< ComponentPropsWithoutRef<"nav">, | "title" | "onAnimationStart" | "onAnimationEnd" | "onAnimationIteration" | "onDrag" | "onDragStart" | "onDragEnd" >

Skip ExploreNavProps props table
PropTypeDefaultDescription
ref
Ref<HTMLElement>
title*
stringProduct family title shown in the collapsed bar and expanded heading.
products*
ExploreNavProduct[]
links
ExploreNavLink[][]Chip links under Overview.
buyHref
stringBuy control. Renders as an anchor when set.
onBuy
() => void
defaultExpanded
booleanfalse
expanded
boolean
onExpandedChange
(expanded: boolean) => void
selectedId
stringControlled selected product id.
defaultSelectedId
string
onSelectedIdChange
(id: string) => void
labels
Partial<ExploreNavLabels>