shadcn.io is not affiliated with official shadcn/ui
Navigation Menu examples · Features
Features with Badges Navigation Menu for React
A What's New dropdown whose feature links carry New, Beta, Preview or Pro badges.
What's New opens six features, each with an icon, a description and a Badge for its status: New, Beta, Preview or Pro. Badges draw attention to what changed without a separate announcements page.
Preview
Installation
FAQ
How are the badges chosen?
Each feature has a badge label and a variant in the data: the default fill for New, secondary for Beta, outline for Preview and Pro.
Are the badges read out?
Yes, as part of the link's text, after the name, such as AI Assistant New. Keep them to one short word.
How are the icons rendered?
Each item's icon is a Lucide component stored in the data, rendered inside the link and hidden from assistive tech, since the label beside it names the link.
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
- Feature Cards with Icons Navigation MenuA Platform Features dropdown laid out as
- Mixed Content Types Navigation MenuA Solutions mega menu mixing solution
- Feature Grid Layout Navigation MenuA Developer Tools dropdown laid out as a
- Badge with Text (Standard)A default badge with a short label for a
- Feature Categories Navigation MenuA Solutions dropdown with six titled
- Feature Sections with Headers Navigation MenuA Collaboration dropdown that groups its