Skip to main content

MenuBarBlock

Overview​

MenuBarBlock represents a navigation menu bar that can contain links, call-to-action elements, and dropdown options. It is used for creating top-level navigation sections on a page.

Attributes​

id​

type: string

A unique identifier for the menu bar block.

type​

type: literal = 'menuBar'

Discriminant for this block type.

type: CtaBlock[] (optional)

A list of call-to-action link elements included in the menu bar.

linkDirection​

type: DirectionOptions (optional)

Specifies the layout direction for the links within the menu bar.

cta​

type: CtaBlock (optional)

A single call-to-action button or link in the menu bar.

type: string

The label text for the dropdown menu selection.

backgroundColor​

type: BackgroundColorOptions (optional)

Specifies the background color of the menu bar.

variants​

type: Variants (optional)

Defines the layout and styling options for the menu bar.