Dropdown Menu Submenu @astryx-svelte/core v0.3.0 · DropdownMenu

Usage

A single menu row that reveals a nested flyout of its own items. The row adopts DropdownMenuItem semantics (label / icon / description / isDisabled); its children become the flyout content. Opens inline-end with viewport auto-flip; Right/Enter/Space opens and focuses the first item, Left/Escape closes and returns focus to the trigger (Right/Left swap in RTL). For data-driven menus, give a menu item a nested items array instead of using this component directly.
ts
import { DropdownMenu } from '@astryx-svelte/core';