# DropdownMenuItem

DropdownMenuItem renders the dropdown menu item part of the dropdown-menu composition.

## Public import

```svelte
<script lang="ts">
  import { DropdownMenuItem } from "rom-ui/primitives/dropdown-menu";
  import "rom-studio/styles";
</script>
```

## Composition and responsibility

Use this part with exports from the same primitive family. Interactive roots own shared interaction state. Content parts render the corresponding region.

Public names: `DropdownMenuItem`, `Item`.

## Declared props

This declaration comes from the installed package. Imported types retain their upstream meaning.

```ts
type Props = DropdownMenuPrimitive.ItemProps & {
		inset?: boolean;
		variant?: "default" | "destructive";
	};
```

## Source and version

ROM UI **0.1.0-alpha.7**. [Component source](https://github.com/pmikstacki/rom-ui/blob/v0.1.0-alpha.7/src/lib/components/ui/dropdown-menu/dropdown-menu-item.svelte).

See [the composition guide](/docs/studio-compositions/) for host integration boundaries.
