NavigationMenu
NavigationMenu renders grouped site navigation with dropdown panels for categories, sections, and related destinations.
Installation
Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.
Copy an example into your project with the shadcn CLI: npx shadcn@latest add https://design.gaudi.site/r/navigation-menu-blog-recent-posts.json.
Usage
Examples
Blog menu with recent posts
Site header menu
API
17 props
Accessibility
NavigationMenu renders a nav landmark, real links, native dropdown buttons, aria-expanded triggers, Escape-to-close behavior, outside-click dismissal, and aria-current for active links.
Related
BreadcrumbBreadcrumb renders hierarchical page trails for navigation context.5 examplesFloatingMenuA compact, inverted pill of destinations that floats over the page once the reader scrolls away from the header, with an optional Back to top button. LayoutContainer renders it for the site; pass targetRef and position sticky to use it inside a scroll container.PaginationPagination renders blog-style previous/status/next navigation. Hovering or focusing the center status reveals direct page shortcuts.4 examplesScrollspyTrack the visible section and navigate a long document using anchor links.1 exampleStepperShow progress through a sequence of labelled steps.6 examplesTreeBrowse hierarchical content with expansion, selection, checkboxes and drag feedback.3 examples