@php $examples = [ 'A menu' => <<<'BLADE' BLADE, 'Submenus' => <<<'BLADE' BLADE, 'A bottom sheet on a phone, a menu from medium' => <<<'BLADE' BLADE, 'Clusters: a gap, or a divider' => <<<'BLADE' BLADE, 'A menu that filters as you type' => <<<'BLADE' BLADE, 'Icons in their own colour' => <<<'BLADE' BLADE, ]; @endphp

Menus

<x-menu> with <x-menu-item>, <x-menu-group> and <x-menu-separator>. Open one with the keyboard too: arrows, Home, End, a letter, Escape. A submenu item opens a second list beside it — Right to enter it, Left to come back. A sheet-at-compact menu opens the same items in a bottom sheet below 600px, where a submenu opens in place: narrow the window to see it.

@foreach ($examples as $title => $code) @endforeach