#9748·ui

[bug]: `DropdownMenuItem` missing variant

Author: madsenmmCreated Feb 27, 2026Updated Sep 16, 2026
Labelsbug

Describe the bug

The docs suggests this is possible

<DropdownMenuItem variant="destructive">
  <TrashIcon />
  Delete
</DropdownMenuItem>

But the variant property can't be set on DropdownMenuItem

Affected component/components

DropdownMenuItem

How to reproduce

  1. Install component pnpm dlx shadcn@latest add dropdown-menu
  2. Try and add any variant to <DropdownMenuItem>, i.e. <DropdownMenuItem variant="destructive">

Codesandbox/StackBlitz link

No response

Logs

System Info

macOS

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues