# SbMenuItem
A menu item component used within SbMenu for individual menu options.
## Parameters
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| Text | string? | null | Menu item text |
| Shortcut | string? | null | Keyboard shortcut hint text |
| Disabled | bool | false | Whether the item is disabled |
| Class | string? | null | Additional CSS classes |
## Events
| Event | Type | Description |
|-------|------|-------------|
| OnClick | EventCallback | Fired when the item is clicked |
## Templates / Slots
| Slot | Type | Description |
|------|------|-------------|
| Icon | RenderFragment | Icon content displayed before text |
| ChildContent | RenderFragment | Custom content (replaces Text) |
## Cascading Parameters
| Parameter | Type | Description |
|-----------|------|-------------|
| ParentMenu | SbMenu | Parent menu container |
## CSS Classes
- `sb-menu-item` - Base class
- `sb-menu-item--disabled` - When disabled
- `sb-menu-item__icon` - Icon container
- `sb-menu-item__text` - Text container
- `sb-menu-item__shortcut` - Shortcut hint
## Accessibility
- Uses `role="menuitem"`
- Supports keyboard activation (Enter/Space)
- `tabindex` managed for keyboard navigation
## Examples
### Basic Usage
```razor
Menu
```
### With Icon
```razor
```
### With Shortcut
```razor
```
### Disabled Item
```razor
@code {
private bool canDelete = false;
}
```
### Custom Content
```razor
John Doe
john@example.com
```
### With Status Indicator
```razor
Online
Away
Do Not Disturb
```
### Danger Item
```razor
```
### Complete File Menu Example
```razor
File
```