Moumen Soliman

Unlimited Nested Menu

Navigation 12

About

A dropdown menu where each item with children drills into a new stacked sub-panel with no depth limit, fully keyboard navigable and animated.

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

Code

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

Usage.tsx

import NestedMenu from "@/components/ui/unlimited-nested-menu";

export default function NestedMenuDemo() {
  return (
    <div className="flex min-h-[28rem] w-full items-center justify-center bg-background p-10">
      <NestedMenu
        rootTitle="Actions"
        triggerLabel="Open menu"
        items={[
          { id: "rename", label: "Rename" },
          { id: "duplicate", label: "Duplicate" },
          {
            id: "share",
            label: "Share",
            items: [
              { id: "share-link", label: "Copy link" },
              { id: "share-email", label: "Share via email" },
              {
                id: "share-team",
                label: "Team",
                items: [
                  { id: "team-eng", label: "Engineering" },
                  { id: "team-design", label: "Design" },
                  { id: "team-sales", label: "Sales" },
                ],
              },
            ],
          },
          {
            id: "move",
            label: "Move to",
            items: [
              { id: "move-drafts", label: "Drafts" },
              { id: "move-archive", label: "Archive" },
            ],
          },
          { id: "delete", label: "Delete", danger: true },
        ]}
      />
    </div>
  );
}

Dependencies

More by Moumen Soliman

View all
  • Interactive Logs Table

    Interactive Logs Table

    1.4K
  • Glass Blog Card

    Glass Blog Card

    1.1K
  • Glowy Waves Hero

    Glowy Waves Hero

    925
  • Gallery Grid with Lightbox

    Gallery Grid with Lightbox

    804
  • Expanding Search Dock

    Expanding Search Dock

    767
  • Glassmorphism Portfolio

    Glassmorphism Portfolio

    658
  • Hero Section

    Hero Section

    607
  • Glass Checkout Card

    Glass Checkout Card

    488

More in Navigation

View all
  • Sidebar

    Sidebar

    286
  • Navbar

    Navbar

    1
  • Tabs

    Tabs

    34
  • Oversized 404 Numeral

    Oversized 404 Numeral

    57
  • Sidebar

    Sidebar

    348
  • Breadrcrumb

    Breadrcrumb

    8
  • Pagination

    Pagination

    91
  • Pagination

    Pagination

    15