UI Headless Runtime API - v1.0.0
    Preparing search index...

    Interface MenuItem

    Item metadata registered with the shared menu engine.

    interface MenuItem {
        disabled?: boolean;
        id: string;
        kind?: MenuItemKind;
        submenuId?: string;
        text: string;
        value?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    disabled?: boolean

    Whether keyboard navigation and selection skip the item.

    id: string

    Stable consumer-provided identifier.

    Actionable item or non-focusable separator.

    submenuId?: string

    Optional submenu identifier opened with ArrowRight.

    text: string

    Text used for typeahead and search.

    value?: string

    Consumer value emitted on activation.