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
  • Numbers Stats Grid

    Numbers Stats Grid

    287
  • Logo Cloud 15

    Logo Cloud 15

    273
  • Testimonials 13

    Testimonials 13

    219
  • Underlined Navigation Menu

    Underlined Navigation Menu

    107
  • Process Timeline

    Process Timeline

    92
  • Rich Navigation Menu

    Rich Navigation Menu

    92
  • Empty State with Marquee

    Empty State with Marquee

    90
  • Members Table Block

    Members Table Block

    88

More in Navigation

View all
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    76
  • Footer with Big Wordmark

    Footer with Big Wordmark

    40
  • Sidebar

    Sidebar

    392
  • Oversized 404 Numeral

    Oversized 404 Numeral

    78
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    67
  • NavBar

    NavBar

    2
  • Pagination

    Pagination

    109
  • Tabs like bookmark

    Tabs like bookmark

    82