ai 2

Accent Menubar

Navigation

About

A self-contained, animated top menu bar with dropdown menus and a soft accent highlight on the open menu, for app-style navigation like File/Edit/View toolbars.

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

Code

How Accent Menubar is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import MenubarAccent, {
  GlowMenubar,
  FillMenubar,
  UnderlineMenubar,
  EdgeMenubar,
} from "@/components/ui/menubar-accent";

function Row({
  label,
  children,
}: {
  label: string;
  children: React.ReactNode;
}) {
  return (
    <div className="flex flex-col gap-2">
      <span className="text-xs font-medium text-muted-foreground">{label}</span>
      {children}
    </div>
  );
}

export default function MenubarAccentDemo() {
  return (
    <div className="grid grid-cols-2 gap-x-16 gap-y-64 p-10">
      <Row label="Bar">
        <MenubarAccent />
      </Row>
      <Row label="Glow">
        <GlowMenubar />
      </Row>
      <Row label="Fill">
        <FillMenubar />
      </Row>
      <Row label="Underline">
        <UnderlineMenubar />
      </Row>
      <Row label="Edge">
        <EdgeMenubar />
      </Row>
    </div>
  );
}

Dependencies

More by ai 2

View all
  • Ripple Buttons

    Ripple Buttons

    31
  • Styled Toggle Switches

    Styled Toggle Switches

    14
  • Styled Progress Bars

    Styled Progress Bars

    14
  • Styled Badges

    Styled Badges

    10
  • OTP Pin Input

    OTP Pin Input

    8
  • Particle Toggles

    Particle Toggles

    7
  • Input Group Glass

    Input Group Glass

    6
  • File Input

    File Input

    6

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