# V menu 12

> File actions

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

- Page, with a live preview: https://shadcn.exchange/r/cnippet/v-menu-12
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/v-menu-12-light-1fe981158b1727ff.png
- Registry item: https://ui.cnippet.dev/r/v-menu-12.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-12.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-12.tsx`

```tsx
import {
  CopyIcon,
  DownloadIcon,
  FilePenIcon,
  MoveIcon,
  TrashIcon,
} from "lucide-react";
import { Button } from "@/registry/default/ui/button";
import {
  Menu,
  MenuGroup,
  MenuItem,
  MenuPopup,
  MenuSeparator,
  MenuShortcut,
  MenuTrigger,
} from "@/registry/default/ui/menu";

export default function Particle() {
  return (
    <Menu>
      <MenuTrigger render={<Button variant="outline" />}>
        File actions
      </MenuTrigger>
      <MenuPopup align="start">
        <MenuGroup>
          <MenuItem>
            <FilePenIcon aria-hidden="true" />
            Rename
            <MenuShortcut>F2</MenuShortcut>
          </MenuItem>
          <MenuItem>
            <CopyIcon aria-hidden="true" />
            Duplicate
            <MenuShortcut>⌘D</MenuShortcut>
          </MenuItem>
          <MenuItem>
            <MoveIcon aria-hidden="true" />
            Move to
          </MenuItem>
          <MenuItem>
            <DownloadIcon aria-hidden="true" />
            Download
            <MenuShortcut>⌘↓</MenuShortcut>
          </MenuItem>
        </MenuGroup>
        <MenuSeparator />
        <MenuItem variant="destructive">
          <TrashIcon aria-hidden="true" />
          Delete
          <MenuShortcut>⌫</MenuShortcut>
        </MenuItem>
      </MenuPopup>
    </Menu>
  );
}
```
