Documentation
Navigation

Navigation Menu

A strip of triggers that each open a popup, with a viewport that resizes between items. The popup is `popup.content`, as in dropdown-menu.

npx shadcn@latest add @fragiola/navigation-menu
Navigation menu
Gallery

popup.content, no new member

The popup is popup.content — the second consumer of that family outside menus (after popover). The viewport's size transition uses the primitive's --popup-width / --popup-height CSS variables; no new popup member was needed, and no !important.

Parts

PartSource
RootBase UI NavigationMenu.Root
Triggerhighlighted + palette-ring + layout
Popuppopup.content()
LinkText.Link via render
Viewportprimitive CSS variables + transition