<!-- Generated by scripts/gen-docs.mts from the JSDoc in registry/. Do not edit; run `pnpm run docs`. -->

# MenuRadioItem

One choice in a `MenuRadioGroup`, marked when it is the group's value.

```tsx
import { MenuRadioItem } from "@/components/ouro/menu/menu";
```

## Example

```tsx
<MenuRadioItem value="name">Name</MenuRadioItem>
```

## Use instead when

- Use `MenuItem` instead for an action.

## Props

Type: `MenuRadioItemProps`.

| Prop | Type | Description |
| --- | --- | --- |
| `children` (required) | `ReactNode` | The choice's text. |
| `disabled` | `boolean` | Shown, but cannot be chosen. |
| `shortcut` | `MenuShortcut` | The keys of its shortcut, shown at its end. |
| `value` (required) | `string` | The value the group reports when this item is chosen. |

## Types

### `MenuShortcut`

Keys for a shortcut, as `Kbd` takes them: `["mod", "e"]` shows ⌘E on Apple platforms and Ctrl+E elsewhere.

```ts
type MenuShortcut = readonly string[] | (string & { 'Use an array: shortcut={["mod", "k"]}': never });
```
