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

    242
  • Numbers Stats Grid

    Numbers Stats Grid

    226
  • Testimonials 13

    Testimonials 13

    182
  • Underlined Navigation Menu

    Underlined Navigation Menu

    93
  • Rich Navigation Menu

    Rich Navigation Menu

    88
  • Integrations 02

    Integrations 02

    80
  • Empty State with Marquee

    Empty State with Marquee

    78
  • Members Table Block

    Members Table Block

    77

More in Navigation

View all
  • Sidebar

    Sidebar

    297
  • Progress Bar Stepper

    Progress Bar Stepper

    45
  • Navbar

    Navbar

    1
  • Tabs

    Tabs

    16
  • Breadcrumb

    Breadcrumb

    103
  • Capsule Tabs

    Capsule Tabs

    21
  • Pagination

    Pagination

    27
  • Pagination with Ellipsis

    Pagination with Ellipsis

    18