# V menu 11

> Account menu

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/v-menu-11).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/v-menu-11
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/v-menu-11-light-17845beb0b603797.png
- Registry item: https://ui.cnippet.dev/r/v-menu-11.json
- Categories: menu
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/v-menu-11.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@cnippet/menu`

## Files

### `registry/default/variants/v-menu-11.tsx`

```tsx
import {
  CreditCardIcon,
  LogOutIcon,
  SettingsIcon,
  UserIcon,
} from "lucide-react";
import { Button } from "@/registry/default/ui/button";
import {
  Menu,
  MenuGroup,
  MenuGroupLabel,
  MenuItem,
  MenuPopup,
  MenuSeparator,
  MenuTrigger,
} from "@/registry/default/ui/menu";

export default function Particle() {
  return (
    <Menu>
      <MenuTrigger
        render={
          <Button
            aria-label="Open account menu"
            className="size-9 rounded-full font-semibold"
            variant="outline"
          />
        }
      >
        JS
      </MenuTrigger>
      <MenuPopup align="end">
        <MenuGroup>
          <MenuGroupLabel>
            <div className="flex flex-col gap-0.5">
              <span>Jane Smith</span>
              <span className="font-normal text-muted-foreground text-xs">
                jane@example.com
              </span>
            </div>
          </MenuGroupLabel>
        </MenuGroup>
        <MenuSeparator />
        <MenuItem>
          <UserIcon aria-hidden="true" />
          Profile
        </MenuItem>
        <MenuItem>
          <CreditCardIcon aria-hidden="true" />
          Billing
        </MenuItem>
        <MenuItem>
          <SettingsIcon aria-hidden="true" />
          Settings
        </MenuItem>
        <MenuSeparator />
        <MenuItem variant="destructive">
          <LogOutIcon aria-hidden="true" />
          Sign out
        </MenuItem>
      </MenuPopup>
    </Menu>
  );
}
```
