# DropdownMenu

## Overview

Contextual menu built on Radix Dropdown Menu with support for submenus, checkboxes, radio items, labels, separators, and shortcuts.

---

## Exports

- `DropdownMenu`, `DropdownMenuTrigger`, `DropdownMenuContent`
- `DropdownMenuItem`, `DropdownMenuCheckboxItem`, `DropdownMenuRadioItem`
- `DropdownMenuLabel`, `DropdownMenuSeparator`, `DropdownMenuShortcut`
- `DropdownMenuGroup`, `DropdownMenuPortal`
- `DropdownMenuSub`, `DropdownMenuSubContent`, `DropdownMenuSubTrigger`
- `DropdownMenuRadioGroup`

All components extend Radix props.

---

## Example

```tsx
import {
  DropdownMenu,
  DropdownMenuTrigger,
  DropdownMenuContent,
  DropdownMenuItem,
  DropdownMenuSeparator,
  DropdownMenuSub,
  DropdownMenuSubTrigger,
  DropdownMenuSubContent,
} from "laif-ds";
import { Button } from "laif-ds";

export function UserMenu() {
  return (
    <DropdownMenu>
      <DropdownMenuTrigger asChild>
        <Button variant="outline">Open</Button>
      </DropdownMenuTrigger>
      <DropdownMenuContent sideOffset={4}>
        <DropdownMenuItem>Profile</DropdownMenuItem>
        <DropdownMenuItem>Settings</DropdownMenuItem>
        <DropdownMenuSeparator />
        <DropdownMenuSub>
          <DropdownMenuSubTrigger>More</DropdownMenuSubTrigger>
          <DropdownMenuSubContent>
            <DropdownMenuItem>Theme</DropdownMenuItem>
          </DropdownMenuSubContent>
        </DropdownMenuSub>
      </DropdownMenuContent>
    </DropdownMenu>
  );
}
```
