# Context Menu Text 4 - Spell Check Menu

> Spell Check 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-text-4).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/context-menu-context-menu-text-4
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/context-menu-context-menu-text-4-light-2a0a1adff09ada9d.png
- Registry item: https://shadcnblocks.com/r/context-menu-context-menu-text-4.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-text-4.json
```

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

## Dependencies

- npm packages: `lucide-react`
- Registry items: `context-menu`

## Files

### `example/context-menu/context-menu-text-4.tsx`

```tsx
import { Check } from "lucide-react";

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

export const title = "Spell Check 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 misspeled word
    </ContextMenuTrigger>
    <ContextMenuContent className="w-56">
      <ContextMenuLabel>Suggestions</ContextMenuLabel>
      <ContextMenuSeparator />
      <ContextMenuItem>
        <Check />
        <span>misspelled</span>
      </ContextMenuItem>
      <ContextMenuItem>
        <Check />
        <span>misspelled</span>
      </ContextMenuItem>
      <ContextMenuItem>
        <Check />
        <span>missplaced</span>
      </ContextMenuItem>
      <ContextMenuSeparator />
      <ContextMenuItem>Add to Dictionary</ContextMenuItem>
      <ContextMenuItem>Ignore</ContextMenuItem>
    </ContextMenuContent>
  </ContextMenu>
);

export default Example;
```
