Navigation Menu
A row of site links where some entries open dropdown panels of further destinations.
Paste this into your agent.
Navigation Menu builds a site or product header whose top-level sections open a panel of links on hover or press. It fits marketing sites and docs headers with grouped destinations. Each entry should link to a destination.
Install
bashnpx shadcn@4.18.0 add @siteplane/navigation-menu
Import it from @/siteplane/components/navigation-menu. The project needs Siteplane UI's one-time setup first: .
When to pick it
- vs : Pick Dropdown Menu instead when the entries are actions, such as Rename or Sign out.
- vs : Pick Tabs instead when switching swaps panels on the same page.
- vs : Pick Sidebar for an application with many sections that needs persistent vertical navigation.
Rules
- Give NavigationMenu an aria-label so its nav landmark is named.
- Render a single NavigationMenuPopup inside the menu. All panels share it as people move between triggers.
- Set active on the NavigationMenuLink for the current page so it gets aria-current page and the active style.
- To open panels from your own state, pass value and onValueChange with a matching NavigationMenuItem value, and null to close.
- Give wide panel content max-w-full so a multi-column panel fits small screens.
Reference
Add to your agent
Print this skill from the terminal, or connect the whole catalog over MCP. Setup guides
CLI
MCP server
Questions
Related skills
Siteplane Commandby UI Skillbook
A searchable, keyboard-driven list of actions, shown inline in a panel or as a command palette in a dialog.
Siteplane UI
Siteplane Tabsby UI Skillbook
Keyboard-navigable tabs that switch between related panels of content on the same page.
Siteplane UI
Siteplane Toggle Groupby UI Skillbook
Related pressed-state buttons that share one selection, single or multiple, with arrow-key movement.
Siteplane UI
12 Principles of Animationby raphaelsalaja
Apply Disney's 12 animation principles to web interfaces to make motion feel natural, organic, and human.
MotionExternalGitHub stars: 42