[{"data":1,"prerenderedAt":342},["ShallowReactive",2],{"docs-nav-pkg":3,"docs-page-pkg-\u002Fpkg\u002Fmenu":133},[4,8,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99,102,105,108,111,114,117,121,124,127,130],{"path":5,"title":6,"section":7},"\u002Fpkg","Overview","Start",{"path":9,"title":10,"section":11},"\u002Fpkg\u002Faccordion","Accordion","Components",{"path":13,"title":14,"section":11},"\u002Fpkg\u002Falert-dialog","Alert Dialog",{"path":16,"title":17,"section":11},"\u002Fpkg\u002Fautocomplete","Autocomplete",{"path":19,"title":20,"section":11},"\u002Fpkg\u002Favatar","Avatar",{"path":22,"title":23,"section":11},"\u002Fpkg\u002Fbutton","Button",{"path":25,"title":26,"section":11},"\u002Fpkg\u002Fcheckbox","Checkbox",{"path":28,"title":29,"section":11},"\u002Fpkg\u002Fcheckbox-group","Checkbox Group",{"path":31,"title":32,"section":11},"\u002Fpkg\u002Fcollapsible","Collapsible",{"path":34,"title":35,"section":11},"\u002Fpkg\u002Fcombobox","Combobox",{"path":37,"title":38,"section":11},"\u002Fpkg\u002Fcontext-menu","Context Menu",{"path":40,"title":41,"section":11},"\u002Fpkg\u002Fdialog","Dialog",{"path":43,"title":44,"section":11},"\u002Fpkg\u002Fdrawer","Drawer",{"path":46,"title":47,"section":11},"\u002Fpkg\u002Ffield","Field",{"path":49,"title":50,"section":11},"\u002Fpkg\u002Ffieldset","Fieldset",{"path":52,"title":53,"section":11},"\u002Fpkg\u002Fform","Form",{"path":55,"title":56,"section":11},"\u002Fpkg\u002Ficon-picker","Icon picker",{"path":58,"title":59,"section":11},"\u002Fpkg\u002Finput","Input",{"path":61,"title":62,"section":11},"\u002Fpkg\u002Fmenu","Menu",{"path":64,"title":65,"section":11},"\u002Fpkg\u002Fmenubar","Menubar",{"path":67,"title":68,"section":11},"\u002Fpkg\u002Fmeter","Meter",{"path":70,"title":71,"section":11},"\u002Fpkg\u002Fnavigation-menu","Navigation Menu",{"path":73,"title":74,"section":11},"\u002Fpkg\u002Fnumber-field","Number Field",{"path":76,"title":77,"section":11},"\u002Fpkg\u002Fotp-field","OTP Field",{"path":79,"title":80,"section":11},"\u002Fpkg\u002Fplot","Plot",{"path":82,"title":83,"section":11},"\u002Fpkg\u002Fpopover","Popover",{"path":85,"title":86,"section":11},"\u002Fpkg\u002Fpreview-card","Preview Card",{"path":88,"title":89,"section":11},"\u002Fpkg\u002Fprogress","Progress",{"path":91,"title":92,"section":11},"\u002Fpkg\u002Fradio-group","Radio Group",{"path":94,"title":95,"section":11},"\u002Fpkg\u002Fscroll-area","Scroll Area",{"path":97,"title":98,"section":11},"\u002Fpkg\u002Fselect","Select",{"path":100,"title":101,"section":11},"\u002Fpkg\u002Fseparator","Separator",{"path":103,"title":104,"section":11},"\u002Fpkg\u002Fsidebar","Sidebar",{"path":106,"title":107,"section":11},"\u002Fpkg\u002Fslider","Slider",{"path":109,"title":110,"section":11},"\u002Fpkg\u002Fswitch","Switch",{"path":112,"title":113,"section":11},"\u002Fpkg\u002Ftabs","Tabs",{"path":115,"title":116,"section":11},"\u002Fpkg\u002Ftoast","Toast",{"path":118,"title":119,"section":120},"\u002Fpkg\u002Fapi","Api","Runtime",{"path":122,"title":123,"section":120},"\u002Fpkg\u002Fauth","Auth",{"path":125,"title":126,"section":120},"\u002Fpkg\u002Fblob","Blob",{"path":128,"title":129,"section":120},"\u002Fpkg\u002Fchannels","Channels",{"path":131,"title":132,"section":120},"\u002Fpkg\u002Fdb","Db",{"id":134,"title":62,"body":135,"description":335,"extension":336,"meta":337,"navigation":338,"path":61,"section":11,"seo":339,"stem":340,"__hash__":341},"pkg\u002Fpkg\u002Fmenu.md",{"type":136,"value":137,"toc":331},"minimark",[138,142,145,150,246,250,317,327],[139,140,141],"p",{},"A list of actions in a dropdown, with keyboard navigation. The popup has no stroke. A highlighted row shows the accent dot to the left of the label. The trigger rests on the wash and shifts lightness on hover and focus. Items and triggers are Regular.",[143,144],"base-menu-demo",{},[146,147,149],"h2",{"id":148},"anatomy","Anatomy",[151,152,157],"pre",{"className":153,"code":154,"language":155,"meta":156,"style":156},"language-vue shiki shiki-themes github-light github-dark","\u003CUiMenuRoot>\n  \u003CUiMenuTrigger>Open\u003C\u002FUiMenuTrigger>\n  \u003CUiMenuPortal>\n    \u003CUiMenuPositioner>\n      \u003CUiMenuPopup>\n        \u003CUiMenuItem>Action\u003C\u002FUiMenuItem>\n        \u003CUiMenuSeparator \u002F>\n        \u003CUiMenuItem>Another\u003C\u002FUiMenuItem>\n      \u003C\u002FUiMenuPopup>\n    \u003C\u002FUiMenuPositioner>\n  \u003C\u002FUiMenuPortal>\n\u003C\u002FUiMenuRoot>\n","vue","",[158,159,160,176,182,188,194,200,206,212,218,224,230,236],"code",{"__ignoreMap":156},[161,162,165,169,173],"span",{"class":163,"line":164},"line",1,[161,166,168],{"class":167},"sVt8B","\u003C",[161,170,172],{"class":171},"s9eBZ","UiMenuRoot",[161,174,175],{"class":167},">\n",[161,177,179],{"class":163,"line":178},2,[161,180,181],{"class":167},"  \u003CUiMenuTrigger>Open\u003C\u002FUiMenuTrigger>\n",[161,183,185],{"class":163,"line":184},3,[161,186,187],{"class":167},"  \u003CUiMenuPortal>\n",[161,189,191],{"class":163,"line":190},4,[161,192,193],{"class":167},"    \u003CUiMenuPositioner>\n",[161,195,197],{"class":163,"line":196},5,[161,198,199],{"class":167},"      \u003CUiMenuPopup>\n",[161,201,203],{"class":163,"line":202},6,[161,204,205],{"class":167},"        \u003CUiMenuItem>Action\u003C\u002FUiMenuItem>\n",[161,207,209],{"class":163,"line":208},7,[161,210,211],{"class":167},"        \u003CUiMenuSeparator \u002F>\n",[161,213,215],{"class":163,"line":214},8,[161,216,217],{"class":167},"        \u003CUiMenuItem>Another\u003C\u002FUiMenuItem>\n",[161,219,221],{"class":163,"line":220},9,[161,222,223],{"class":167},"      \u003C\u002FUiMenuPopup>\n",[161,225,227],{"class":163,"line":226},10,[161,228,229],{"class":167},"    \u003C\u002FUiMenuPositioner>\n",[161,231,233],{"class":163,"line":232},11,[161,234,235],{"class":167},"  \u003C\u002FUiMenuPortal>\n",[161,237,239,242,244],{"class":163,"line":238},12,[161,240,241],{"class":167},"\u003C\u002F",[161,243,172],{"class":171},[161,245,175],{"class":167},[146,247,249],{"id":248},"parts","Parts",[251,252,253,273,283,293,306,311],"ul",{},[254,255,256,260,261,264,265,268,269,272],"li",{},[257,258,259],"strong",{},"Root"," — owns open state. ",[158,262,263],{},"open"," \u002F ",[158,266,267],{},"defaultOpen",", ",[158,270,271],{},"disabled",".",[254,274,275,278,279,282],{},[257,276,277],{},"Trigger"," — toggles the menu. ",[158,280,281],{},"openOnHover"," opens on pointer enter.",[254,284,285,288,289,292],{},[257,286,287],{},"Portal \u002F Positioner \u002F Popup"," — ",[158,290,291],{},"role=\"menu\""," below the trigger. Esc and outside click close.",[254,294,295,288,298,301,302,305],{},[257,296,297],{},"Item",[158,299,300],{},"role=\"menuitem\"",". Click runs the action and closes. ",[158,303,304],{},"data-highlighted"," for keyboard and hover.",[254,307,308,310],{},[257,309,101],{}," — a rule between groups.",[254,312,313,316],{},[257,314,315],{},"SubmenuRoot \u002F SubmenuTrigger"," — nest another menu. It opens to the right of the trigger.",[139,318,319,320,264,323,326],{},"Enter and leave use ",[158,321,322],{},"data-starting-style",[158,324,325],{},"data-ending-style",". No drop-shadow and no border.",[328,329,330],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":156,"searchDepth":178,"depth":178,"links":332},[333,334],{"id":148,"depth":178,"text":149},{"id":248,"depth":178,"text":249},"A list of actions in a dropdown","md",{},true,{"title":62,"description":335},"pkg\u002Fmenu","vsczZQK7t0Dgjwg8TkJ8E05iQpbpMq8pAtAH8970mPQ",1791043754946]