Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Navigation Menu examples · Marketing

Industry Solutions Navigation Menu for React

An Industries dropdown with a heading and a three-column grid of industries, each with an icon tile and a description.

Framework
UI library

Industries opens a heading, Solutions by Industry, and six industries in three columns, each with an icon on a tinted tile, a name and a description. Use it when the same product is sold to different sectors.

Preview

Preview width

Installation

Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.

FAQ

How is the icon tile styled?

A size-12 rounded square with bg-primary/10 and the icon in text-primary, so it follows the theme's primary color.

How is each link laid out?

The link takes flex-col items-start gap-3: the tile on top, the name and description below.

What happens on narrow screens?

The panel is w-[700px] with max-w-full, so it never grows past the screen, but its columns get tight. Below the md breakpoint, show the same links in a Sheet or a Drawer instead.

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="#" />}.

How does the menu work from the keyboard?

Tab moves between the triggers and the links, Enter or Space opens a trigger's panel, and Escape closes it and returns focus to the trigger. The root is a nav, so screen readers list it as a navigation landmark.

How do I mark the current page?

Set aria-current="page" on the NavigationMenuLink that matches the route, and style it with the aria-[current=page]: variant. active on NavigationMenuLink sets it for you.