# Context Menu Standard 1 - Simple Context Menu

> Simple Context Menu using shadcn ContextMenu.

A shadcn/ui block from the [@shadcnblocks](https://shadcnblocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnblocks/context-menu-context-menu-standard-1).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/context-menu-context-menu-standard-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/context-menu-context-menu-standard-1-light-028d5d56f5a78e33.png
- Registry item: https://shadcnblocks.com/r/context-menu-context-menu-standard-1.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/context-menu-context-menu-standard-1.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: `context-menu`

## Files

### `example/context-menu/context-menu-standard-1.tsx`

```tsx
import {
  ContextMenu,
  ContextMenuContent,
  ContextMenuItem,
  ContextMenuTrigger,
} from "@/components/ui/context-menu";

export const title = "Simple Context Menu";

const Example = () => (
  <ContextMenu>
    <ContextMenuTrigger className="flex h-[200px] w-full max-w-lg items-center justify-center rounded-md border border-dashed text-sm">
      Right click here
    </ContextMenuTrigger>
    <ContextMenuContent>
      <ContextMenuItem>Back</ContextMenuItem>
      <ContextMenuItem>Forward</ContextMenuItem>
      <ContextMenuItem>Reload</ContextMenuItem>
      <ContextMenuItem>More Options</ContextMenuItem>
    </ContextMenuContent>
  </ContextMenu>
);

export default Example;
```
