Navigation menu

A horizontal menu with dropdowns.

Simple (no dropdowns)

Featured

API reference

Inputs

PropTypeDefaultDescription
itemsreadonly NavMenuItem[][]Top-level menu entries, each optionally opening a dropdown panel.

Types

NavMenuItem

FieldTypeDescription
labelstringVisible text of the top-level menu entry.
href?stringDestination URL for a plain (non-dropdown) entry.
links?NavMenuLink[]Sub-links rendered in the dropdown panel; presence makes this a dropdown.
featured?NavMenuLinkA highlighted promo link shown at the top of the dropdown panel.

NavMenuLink

FieldTypeDescription
labelstringVisible text of the link.
href?stringDestination URL; falls back to `#` when omitted.
description?stringOptional secondary text shown beneath the label.

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.