shadcn.io is not affiliated with official shadcn/ui
Navigation Menu examples · Complex
Dashboard-style with Stats Navigation Menu for React
An Analytics dropdown with four stat cards and their trends above links to standard and custom reports.
Analytics opens four stat cards, Active Users, Revenue, Conversions and Bounce Rate, each with a trend badge, above two columns of report links. People see the numbers before choosing a report.
Preview
Installation
FAQ
How are the trends shown?
Each stat has a trend value, an arrow icon and a Badge variant in the data: secondary with an up arrow for gains, destructive with a down arrow for the bounce rate.
Are the stat cards links?
No, only the reports below are NavigationMenuLinks. The figures are written in the file; in an app, load them when the panel opens.
How do the links use my router?
Each link is your router's link rendered through NavigationMenuLink, so it keeps the menu's styles and focus handling.
NavigationMenuLink takes the Next.js Link through render, as in render={<Link href="#" />}.
Related
- Full Mega Menu Navigation MenuA wide Platform mega menu with feature
- Mixed Content Types Navigation MenuA Solutions mega menu mixing solution
- Tabbed Mega Menu Navigation MenuA Products mega menu with Web, Mobile and
- Financial Stats Hover CardA revenue tile that opens a breakdown of
- Multi-level Nested Navigation Navigation MenuA Products dropdown with two categories
- Feature Cards with Icons Navigation MenuA Platform Features dropdown laid out as