shadcnui-blocks

Navigation Menu with Active Item

Navigation

About

A horizontal navigation menu with icon links where the current page is highlighted as the active item.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Navigation Menu with Active Item to your project and fits it to your theme.

Code

How Navigation Menu with Active Item is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import NavigationMenuWithActiveItem from "@/components/ui/navigation-menu-04";

export default function Default() {
  return (
    <div className="flex min-h-64 w-full items-center justify-center bg-background p-6 text-foreground">
      <NavigationMenuWithActiveItem />
    </div>
  );
}

Dependencies

More by shadcnui-blocks

View all
  • Logo Cloud 15

    Logo Cloud 15

    229
  • Numbers Stats Grid

    Numbers Stats Grid

    199
  • Testimonials 13

    Testimonials 13

    176
  • Rich Navigation Menu

    Rich Navigation Menu

    88
  • Underlined Navigation Menu

    Underlined Navigation Menu

    83
  • Integrations 02

    Integrations 02

    80
  • Empty State with Marquee

    Empty State with Marquee

    74
  • Members Table Block

    Members Table Block

    72

More in Navigation

View all
  • Sidebar

    Sidebar

    235
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    43
  • Tabs

    Tabs

    60
  • Sidebar

    Sidebar

    340
  • Numberless Pagination with Text

    Numberless Pagination with Text

    11
  • Oversized 404 Numeral

    Oversized 404 Numeral

    50
  • Footer

    Footer

    446
  • Pagination

    Pagination

    43