[{"data":1,"prerenderedAt":2335},["ShallowReactive",2],{"cmdk-index":3,"content:\u002Fcomponents\u002Fmenu":236},[4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232],{"path":5,"title":6,"description":7},"\u002Fcomponents\u002Faccordion","Accordion","A disclosure list built entirely on native \u003Cdetails>\u002F\u003Csummary> elements — zero JavaScript, zero\nARIA reinvention. The browser supplies the disclosure role, aria-expanded, Enter\u002FSpace toggling,\nfocus, and find-in-page expansion for free. Single-open (exclusive) mode uses the platform\nexclusive-accordion feature (Baseline 2024): every \u003Cdetails> shares one auto-generated name, so\nthe browser closes siblings when one opens. multiple drops the shared name so each item opens\nindependently.",{"path":9,"title":10,"description":11},"\u002Fcomponents\u002Falert","Alert","A styled, accessible notification banner. Its live-region politeness is derived from the color —\nurgent danger \u002F warn render role=\"alert\" (assertive), everything else role=\"status\" (polite) —\nso a non-urgent banner isn't announced assertively (override with the live prop). It supports an\noptional icon, a title, body text, an actions row, and a dismiss button.",{"path":13,"title":14,"description":15},"\u002Fcomponents\u002Favatar","Avatar","A data-display component that shows an image, or initials derived from text when there is no\nimage (or while it loads). Supports a title \u002F subtitle column for list and profile UIs.",{"path":17,"title":18,"description":19},"\u002Fcomponents\u002Fbadge","Badge","A small status or count indicator. Attach it to any element as a floating pip, drop it inline next\nto text, or render it standalone — all three modes share the same class surface.",{"path":21,"title":22,"description":23},"\u002Fcomponents\u002Fbutton","Button","A styled, accessible button. Dynamic state is expressed through real attributes — disabled becomes\na true disabled (or aria-disabled for link buttons), loading sets aria-busy, and it ships a\nvisible :focus-visible ring.",{"path":25,"title":26,"description":27},"\u002Fcomponents\u002Fcard","Card","A surface container for grouping related content — a header (prepend slot · title · subtitle ·\nappend slot), a body, and optional action rows. It is the most composed styled component, yet the\nstandalone markup is just nested .ori-card__* elements, so it works without Vue.",{"path":29,"title":30,"description":31},"\u002Fcomponents\u002Fcheckbox","Checkbox","A styled, accessible checkbox built on a real \u003Cinput type=\"checkbox\"> — kept in the DOM\n(visually hidden over a custom box) so keyboard, focus, and native form submission work for free.\nThe accent color and :focus-visible ring are driven by the ori-color token; invalid sets\naria-invalid; disabled is the native attribute.",{"path":33,"title":34,"description":35},"\u002Fcomponents\u002Fcolor-picker","Color picker","An accessible color picker: a 2D saturation × brightness area, a hue slider, a hex field, and\noptional preset swatches — an inline panel you compose into an OriPopover for a\nswatch-triggered flow. Behaviour lives in the framework-agnostic useColorPicker (a zero-dependency sRGB +\n2D-area engine, no adapter or machine); the styled component reuses OriSlider for the\nhue channel and OriInput for the hex field. v-model carries a lowercase color\nstring; the internal working model is HSVA, so the hue survives when you drag into a corner and back.",{"path":37,"title":38,"description":39},"\u002Fcomponents\u002Fcombobox","Combobox","A filterable single-select listbox — type to filter, navigate with the keyboard, pick one. It is the\nfirst component driven end-to-end by @oriui\u002Fheadless: the state machine + prop-getters own the\nbehaviour (open\u002Fclose, filtering, the active-descendant highlight, selection, and the full\nWAI-ARIA keyboard), and OriCombobox renders the styled shell on top. Unlike the pure-CSS\ncomponents, the behaviour needs JavaScript — the standalone classes give you the look, and\nuseCombobox gives you the behaviour for any UI.",{"path":41,"title":42,"description":43},"\u002Fcomponents\u002Fdialog","Dialog","A modal dialog — the library's first genuinely interactive component, built on the native\n\u003Cdialog> element. Unlike the styled-only components, a dialog needs behaviour: focus trap, scroll\nlock, Esc-to-close, click-outside dismissal, and the full WAI-ARIA keyboard contract. All of it comes\nfrom the platform via showModal() — no state-machine dependency and no adapter to wire. The styled\nOriDialog supplies only the markup and tokens.",{"path":45,"title":46,"description":47},"\u002Fcomponents\u002Fdivider","Divider","A horizontal (default) or vertical rule that separates content. An optional centered label turns it\ninto a visual break like the classic \"OR\" between form sections. A pure layout\u002Fstructure primitive —\nno interactive behaviour, no variants, no size scale.",{"path":49,"title":50,"description":51},"\u002Fcomponents\u002Ffield","Field","The shared shell for form controls — one source of truth for the label \u002F hint \u002F error \u002F\nrequired contract that Input, Select,\nTextarea, Combobox, Slider,\nRadioGroup, and ColorPicker otherwise each wire\nby hand. Wrap a control in OriField and it adopts the field's id, aria-describedby,\naria-invalid, required, disabled, and size — and stops rendering its own label and helper, so\nthere is exactly one of each, wired identically every time. Group and composite controls (RadioGroup,\nCombobox's listbox, ColorPicker) name themselves via aria-labelledby pointing at the field's label.",{"path":53,"title":54,"description":55},"\u002Fcomponents\u002Ficon","Icon","A styled, accessible SVG icon. Decorative by default — renders with aria-hidden=\"true\" and no\nrole. Pass a label to expose it to assistive technology as an image: the icon switches to\nrole=\"img\" + aria-label automatically.",{"path":57,"title":58,"description":59},"\u002Fcomponents\u002Finput","Input","A labelled, accessible text field with v-model. State is expressed through real attributes — the\nnative disabled, aria-invalid when there is an error, and an aria-describedby that points at\nthe rendered hint or error. The label is wired to the field with for\u002Fid (auto-generated via\nuseId when you don't pass one), and arbitrary native attributes (name, autocomplete,\ninputmode, …) fall through to the underlying \u003Cinput>.",{"path":61,"title":62,"description":63},"\u002Fcomponents\u002Fjoin","Join","A thin wrapper that collapses the shared radii and borders of adjacent controls so they read as one\nsegmented unit — button groups, input+button combos, segmented toolbars. No visual styling of its\nown: all colour, size, and variant tokens live on the children.",{"path":65,"title":66,"description":67},"\u002Fcomponents\u002Fkbd","Kbd","A keyboard-key chip — a semantic \u003Ckbd> element styled as a monospace bordered chip. Use it to\nrepresent individual keys, modifier keys, or multi-key shortcuts inline in prose or UI hints.",{"path":69,"title":70,"description":71},"\u002Fcomponents\u002Flink","Link","An inline prose link — the right choice when a destination lives in running text. Distinct from\nOriButton rendered as=\"a\": a button that navigates is still a button; a link in a sentence is\nOriLink. Underlined by default (the affordance survives without color), with a _hover mode that\nhides the underline at rest and reveals it on hover. A visible :focus-visible ring uses the same\ncolor as the text.",{"path":73,"title":74,"description":75},"\u002Fcomponents\u002Fmenu","Menu","A WAI-ARIA menu button: a trigger opens a roving-tabindex action list. Unlike the Popover, open\u002Fclose,\nfocus movement, and click-outside dismissal are driven entirely by the @oriui\u002Fheadless menu\nmachine in JavaScript, not the Popover API — so the panel is not top-layer and carries a z-index. The\npanel is still placed with the same CSS Anchor Positioning primitive as the Popover (ori-anchored),\nzero positioning JS.",{"path":77,"title":78,"description":79},"\u002Fcomponents\u002Fpopover","Popover","A positioned overlay for supplementary content — a menu, a filter panel, a rich hint — tethered to a\ntrigger. It runs entirely on the platform: the trigger opens the panel through the Popover API\n(top-layer, light-dismiss, Esc — zero JS), and the panel is placed with CSS Anchor Positioning\n(anchor-name \u002F position-anchor + position-area, with a collision flip via\nposition-try-fallbacks) — zero positioning JS, no scroll\u002Fresize listeners. Baseline 2026, with\ngraceful degradation: an older engine still opens the panel and places it, just without the\ncollision-aware flip.",{"path":81,"title":82,"description":83},"\u002Fcomponents\u002Fprogress","Progress","A horizontal progress bar that communicates task completion. It supports a determinate mode (a\nknown value out of a max) and an indeterminate mode (animated sweep) for tasks with no\nmeasurable progress. State is expressed through ARIA attributes — aria-valuenow is omitted when\nindeterminate, giving screen readers the correct cue automatically.",{"path":85,"title":86,"description":87},"\u002Fcomponents\u002Fradio","Radio","A \"choose one\" compound control. A role=\"radiogroup\" container names the set via\naria-labelledby; each option is a real \u003Cinput type=\"radio\"> sharing a single name — so the\nbrowser enforces single-select and native form submission — visually hidden behind a styled circle.\nPass the options as an array; per-option disabled is supported.",{"path":89,"title":90,"description":91},"\u002Fcomponents\u002Fselect","Select","A native-first styled select control with v-model. The browser owns the dropdown, full keyboard\ninteraction, type-ahead, and all ARIA semantics — oriUI only styles the closed control and draws a\ndecorative chevron. It shares the form-control contract of Input and\nTextarea: a built-in label, hint, error, and required asterisk, all\nwired for accessibility. State is expressed through real attributes — native disabled and\naria-invalid=\"true\" (not classes) — and arbitrary native attrs (name, autocomplete, …) fall\nthrough to the \u003Cselect> via inheritAttrs:false.",{"path":93,"title":94,"description":95},"\u002Fcomponents\u002Fskeleton","Skeleton","A loading placeholder that signals content is on its way. An animated shimmer sweep sweeps across the\nblock; on devices that request reduced motion the shimmer stops and the tinted block alone signals the\nloading state. Size it with an inline style or a utility class — the skeleton itself carries no\nintrinsic width or height beyond a 1em minimum height.",{"path":97,"title":98,"description":99},"\u002Fcomponents\u002Fslider","Slider","A styled, accessible range control built on a native \u003Cinput type=\"range\">. Because the\nunderlying element is real HTML, the browser supplies role=\"slider\", the full keyboard contract\n(arrow keys, Home\u002FEnd, PageUp\u002FPageDown), and screen-reader value announcements for free — no\nJavaScript bridge needed. Colour and the filled-track portion are driven by CSS custom properties;\nv-model carries a number.",{"path":101,"title":102,"description":103},"\u002Fcomponents\u002Fspinner","Spinner","An accessible loading indicator — renders role=\"status\" with an aria-label (default \"Loading\")\nso assistive technology announces the busy state without any extra work. Use it standalone for a\npage-level or section-level loader, or embed it inline inside a button or label.",{"path":105,"title":106,"description":107},"\u002Fcomponents\u002Fstack","Stack","The workhorse layout primitive — two flex modes in one component. A stack (ori-stack) is a\nflex column: children flow top-to-bottom with a consistent gap. A cluster (ori-cluster) is a\nwrapping flex row: children flow left-to-right, wrap onto new lines, and are centered on the\ncross-axis — ideal for tag clouds, button groups, and badge sets.",{"path":109,"title":110,"description":111},"\u002Fcomponents\u002Fsurface","Surface","An elevated floating surface — a lifted panel with a surface background, an optional hairline, a\ncorner radius, and a mode-aware shadow, and nothing else. No padding, no header\u002Ftitle semantics: it\nis just the box, and the caller owns the layout inside. It's the building block for chrome that floats\nover content — a toolbar island, a zoom control, a side panel, a menu popout's container — and the\nelevation counterpart to Card, which is a content card (padding + header \u002F\ntitle \u002F body \u002F actions).",{"path":113,"title":114,"description":115},"\u002Fcomponents\u002Fswitch","Switch","An on\u002Foff toggle built on a real \u003Cinput type=\"checkbox\" role=\"switch\"> — kept in the DOM\n(visually hidden over a track + thumb) so keyboard, focus, and form submission work for free, and\nassistive technology announces it as a switch. v-model is a boolean. The \"on\" track color and the\n:focus-visible ring both come from the ori-color token; the track and thumb scale with\nori-font-size so size is a single prop.",{"path":117,"title":118,"description":119},"\u002Fcomponents\u002Ftabs","Tabs","An accessible tabs widget with automatic activation. The tablist holds a roving tabindex so\nTab \u002F Shift+Tab enter and leave the group as a single keyboard stop; arrow keys move between\ntabs and immediately select them. State is expressed through real ARIA attributes — aria-selected\ndrives both the active indicator and the label colour; disabled is the native button attribute.",{"path":121,"title":122,"description":123},"\u002Fcomponents\u002Ftag","Tag","A compact label for categorising, filtering, or annotating content — status chips, keyword\nbadges, and removable filter pills. State is expressed through real attributes: aria-disabled\ndisables the tag and its close button without removing it from the DOM.",{"path":125,"title":126,"description":127},"\u002Fcomponents\u002Ftextarea","Textarea","A labelled, accessible multiline text field with v-model. State is expressed through real\nattributes — the native disabled, aria-invalid when there is an error, and an aria-describedby\nthat points at the rendered hint or error. The label is wired to the field with for\u002Fid\n(auto-generated via useId when you don't pass one). Unlike a single-line input the field has no\nfixed height — it grows from a rows-based min-height and stays user-resizable.",{"path":129,"title":130,"description":131},"\u002Fcomponents\u002Ftoast","Toast","An imperative notification system. Push a toast from anywhere with useToast() and render\n\u003COriToaster \u002F> once near the app root to display the queue. No event bus, no Vuex, no provide\u002Finject —\njust a module-level reactive queue that every call site shares.",{"path":133,"title":134,"description":135},"\u002Fcomponents\u002Ftoolbar","Toolbar","A WAI-ARIA toolbar: a set of related controls that share a single Tab stop, navigated internally\nwith the arrow keys via roving tabindex (real DOM focus, not aria-activedescendant). Five\ncomponents make it up — OriToolbar (the root, role=\"toolbar\"), OriToolbarButton (an item —\ncomposes OriButton), OriToolbarSeparator (a perpendicular divider), and a paired\nOriToolbarToggleGroup \u002F OriToolbarToggleItem for a segmented single- or multi-select toggle.\nUnlike the data-driven OriMenu (an items array plus a machine), a toolbar is compositional —\nyou assemble it from slotted components in whatever order and combination you need — so the behaviour\nunderneath, useToolbar from @oriui\u002Fheadless, is a provide\u002Finject\nroving-focus context rather than a state machine over an array.",{"path":137,"title":138,"description":139},"\u002Fcomponents\u002Ftooltip","Tooltip","A CSS-driven tooltip that shows additional context when a control is focused or hovered. The bubble\nis always in the DOM (so the aria-describedby reference is never dangling) and shown\u002Fhidden\nentirely in CSS — no JS state machine, no positioning engine. Show is pure :focus-within (keyboard)\nand :hover wrapped in @media (hover: hover) (pointer, without sticking open on touch).",{"path":141,"title":142,"description":143},"\u002Fguides\u002Fcss","Using the CSS layer","oriUI is three independent layers woven around one set of design tokens. The @oriui\u002Fcss layer is\njust standalone .ori-* classes plus the token theming — no Vue, no build step, no Tailwind. You\nship the stylesheet and write classes. This is how oriUI works with htmx, Astro, or plain HTML —\nthe DaisyUI niche, minus Tailwind.",{"path":145,"title":146,"description":147},"\u002Fguides\u002Fcustomization","Customization","Make it yours — without authoring a whole skin. Most products need one thing: their brand color and\ntheir corner radius on top of accessible, ready-made components. oriUI lets you do that by repointing\na handful of design tokens — a few CSS custom properties in your own stylesheet, no rewrite, no fork.\nThis is the prototype fast, scale without rewriting payoff: the same \u003COriButton> you shipped on\nday one becomes on-brand by the time you ship to users, and nothing about the component changes.",{"path":149,"title":150,"description":151},"\u002Fguides\u002Fdesign-tokens","Design tokens","oriUI is three independent layers woven around one set of design tokens. This page is the\ncatalog — every token, and the resolution model that turns a raw value into the colour a component\npaints. The chain is short and deliberate: a primitive feeds a semantic role, a role feeds a\nper-instance alias, and components read only the alias. That indirection is what lets a single\nclass repoint a single token — the whole zero-runtime theming story rests on it.",{"path":153,"title":154,"description":155},"\u002Fguides\u002Fskins","Skin gallery","A skin is a named palette — a set of token overrides applied with one attribute on \u003Chtml>\n(data-ori-skin). Every skin repoints only the four skinnable roles (primary · secondary ·\nsurface · background, each with a -light and -dark source); the status hues (success ·\nwarn · danger · info) stay shared, and every pairing targets WCAG AA for body text. Switching\na skin is a single attribute write — zero runtime, no recompute, no flash.",{"path":157,"title":158,"description":159},"\u002Fguides\u002Ftheming","Theming","A theme is a mode (light or dark) layered over a skin (a named palette). Both are pure\nattribute toggles on \u003Chtml> — flipping either repoints the active --ori-color-* aliases through\nCSS custom properties, so everything reskins at once with no JavaScript, no recompute, no flash.\nThis is the same zero-runtime story across every layer: a Vue app, the standalone @oriui\u002Fcss\nclasses, htmx fragments, or hand-written HTML all theme identically.",{"path":161,"title":162,"description":163},"\u002Fheadless\u002Fcore","Core","The framework-agnostic heart of the headless layer: a behaviour contract plus a zero-dependency\nnative engine, written in vanilla TypeScript. Every framework binding consumes the same contract,\nso a primitive behaves identically wherever it runs — and the behaviour stays swappable per primitive,\nwithout touching markup.",{"path":165,"title":166,"description":167},"\u002Fheadless\u002Fuse-color-picker","useColorPicker","A headless sRGB color picker — a 2D saturation × brightness area, a hue channel, an optional\nalpha channel, a hex field, and optional preset swatches, assembled from ready-to-bind\nprop-getters. It owns the working color as an internal HSVA object (so the hue survives a grayscale\nround-trip when you drag into a corner and back) and composes a zero-dependency sRGB engine plus pure\n2D-area math from the core: parseColor \u002F formatColor (loose parse in, lowercase string out),\nhsvToRgb \u002F rgbToHex \u002F rgbToHsl (hex \u002F rgb \u002F hsv \u002F hsl conversion), readableInk (WCAG-luminance\nink over a swatch), and resolveAreaPosition \u002F stepAreaPosition (pointer → coordinate and keyboard\nstepping across the two axes).",{"path":169,"title":170,"description":171},"\u002Fheadless\u002Fuse-combobox","useCombobox","A headless combobox primitive — an editable text input paired with a popup listbox — implementing\nthe WAI-ARIA combobox with listbox popup pattern: type to filter, navigate with the keyboard via\nactive-descendant, and pick a single option. It owns the behaviour (open\u002Fclose, filtering, the\nhighlight, selection, and the full keyboard) and the ARIA wiring as ready-to-bind prop bags; you own\nthe markup and styles.",{"path":173,"title":174,"description":175},"\u002Fheadless\u002Fuse-dialog","useDialog","A headless modal dialog primitive built on the native \u003Cdialog> element — focus trap, scroll lock,\nEscape to close, focus return, and aria-modal semantics all come from the platform via\nshowModal(). It owns the open state and the ARIA wiring as ready-to-bind prop bags; you own the\nmarkup and styles (you render the \u003Cdialog> and drive showModal() \u002F close() from open).",{"path":177,"title":178,"description":179},"\u002Fheadless\u002Fuse-disclosure","useDisclosure","A headless show \u002F hide primitive for disclosure widgets — expandable panels, accordions, menus,\nthe collapsible sidebar groups on this very site. It owns the open state, the WAI-ARIA wiring, and the\ntoggle handler; you own the markup and the styles.",{"path":181,"title":182,"description":183},"\u002Fheadless\u002Fuse-dismissable","useDismissable","A headless dismiss layer — the \"close the overlay on an outside interaction\" glue a non-platform\noverlay needs, the pattern Radix DismissableLayer \u002F Floating-UI useDismiss standardise. While\nenabled, it attaches document listeners and calls onDismiss() when an interaction lands outside\nthe overlay's own elements. Each overlay picks the strategy that fits it:",{"path":185,"title":186,"description":187},"\u002Fheadless\u002Fuse-menu","useMenu","A headless menu button primitive built on the WAI-ARIA menu-button pattern — a trigger that opens a\npopup menu of actions, with roving tabindex, arrow \u002F Home \u002F End navigation, and Enter \u002F Space\nactivation. It owns the open state and the highlighted item and exposes the ARIA wiring as ready-to-bind\nprop bags; you own the markup, the styles, and the DOM focus (roving needs real focus, and\nclick-outside \u002F focus-return are host concerns a state projection can't reach).",{"path":189,"title":190,"description":191},"\u002Fheadless\u002Fuse-tabs","useTabs","A headless WAI-ARIA tabs widget with automatic activation — a tablist of tabs behind a single\nTab stop, navigated with the arrow keys via roving tabindex (real DOM focus, not\naria-activedescendant), where moving focus also selects. It is data-driven: you pass the tabs\narray plus the selected value, and it returns the tablist prop bag plus per-tab and per-panel\nprop-getters (ids, aria-selected, aria-controls, aria-labelledby, roving tabindex, hidden).",{"path":193,"title":194,"description":195},"\u002Fheadless\u002Fuse-theme","useTheme","A headless light \u002F dark theme controller — it owns the mode setting, resolves auto against the OS\nscheme live, persists the choice, and applies it to the DOM. It applies through applyTheme, which sets\nthe ori-theme_{light,dark} class (removing the opposite — exactly one is on at a time) and works\naround a bug in current Chromium where a runtime theme toggle otherwise leaves styled components\npainting the previous theme's colours until they re-render.",{"path":197,"title":198,"description":199},"\u002Fheadless\u002Fuse-toast","useToast","A headless toast queue — an imperative notification store you call from anywhere (toast('Saved'))\nand render once near the app root. The behaviour is a framework-agnostic engine (a plain array + a Set\nof listeners + auto-dismiss timers) projected into the host framework's reactivity: a Vue reactive\narray and a Svelte readable store. It is a client-side singleton — every useToast() call\nshares the one queue, so a push from anywhere reaches the single renderer.",{"path":201,"title":202,"description":203},"\u002Fheadless\u002Fuse-token","useToken","A reactive token bridge — it resolves an --ori-* design token to its computed value in JS, for\ncanvas \u002F WebGL \u002F chart painters (Konva, ECharts, …) that draw outside the CSS cascade yet must follow the\nactive skin. It reads through a hidden probe, because the obvious API is a trap: getComputedStyle(el).getPropertyValue('--x') hands back the unresolved var() chain (oriUI aliases chain), not a color —\nsubstitution only happens at a real property's computed-value time.",{"path":205,"title":206,"description":207},"\u002Fheadless\u002Fuse-toolbar","useToolbar","A headless WAI-ARIA toolbar — a set of related controls behind a single Tab stop, navigated\ninternally with the arrow keys via roving tabindex (real DOM focus, not aria-activedescendant).\nThe root owns orientation \u002F loop \u002F direction and a single keydown handler; each item registers itself\nand receives its roving tabindex, so a toolbar is assembled from arbitrary slotted components\nrather than a fixed data array.",{"path":209,"title":210,"description":211},"\u002Foverview\u002Faccessibility","Accessibility","Accessibility in oriUI is structural, not a coat of polish on top. The same decisions that make\nthe components correct for assistive technology also make them themeable and framework-agnostic — they\nare the same source of truth, not a separate effort.",{"path":213,"title":214,"description":215},"\u002Foverview\u002Fapplicability","Applicability","oriUI is three independently-consumable layers woven around one token contract. The promise is\nprototype fast, scale without rewriting: reach for the styled Vue components first, drop to the\nheadless behaviour when you need control, or drop to the standalone CSS when you leave Vue entirely —\nwithout changing your design tokens. This page maps each layer to where it runs.",{"path":217,"title":218,"description":219},"\u002Foverview\u002Fcheat-sheet","Cheat sheet","Everything in one page — install, the class model, every component, and the design tokens. For the\nmachine-readable version (e.g. to paste into an AI), fetch \u002Fllms.txt (index) or\n\u002Fllms-full.txt (every page concatenated).",{"path":221,"title":222,"description":223},"\u002Foverview\u002Fcomparisons","Idea & comparisons","oriUI's one-line idea — prototype fast, scale without rewriting — falls out of a single\narchitectural choice: three layers woven around one token contract, so you can change depth\n(styled → headless → CSS) without changing your design system. This page sets that idea next to the\nlibraries oriUI learns from, and is honest about where it does and doesn't compete.",{"path":225,"title":226,"description":227},"\u002Foverview\u002Fget-started","Get started","oriUI is a layered Vue 3 UI library. Install it and import only what you need.",{"path":229,"title":230,"description":231},"\u002Foverview\u002Finstallation","Installation","oriUI is three layers in two packages. Install only the layer you need — they share one token\ncontract, so you can add another later without reworking what you built.",{"path":233,"title":234,"description":235},"\u002Foverview\u002Fintroduction","Introduction","oriUI (織り, ori — \"weaving\") is a layered Vue 3 UI library. The idea in one line:\nprototype fast, scale without rewriting. Start with ready-made styled components; when you need\nmore control, drop down to the behavior or the raw CSS — without throwing away your work, because\nevery layer is woven around the same design tokens.",{"id":237,"title":74,"body":238,"description":75,"extension":2330,"meta":2331,"navigation":861,"path":73,"seo":2332,"stem":2333,"__hash__":2334},"docs\u002Fcomponents\u002Fmenu.md",{"type":239,"value":240,"toc":2316},"minimark",[241,245,270,316,321,353,357,361,384,1034,1038,1068,1313,1317,1324,1488,1492,1502,1594,1598,1601,1837,1840,1850,1951,2066,2069,2087,2092,2184,2188,2228,2239,2243,2303,2312],[242,243,74],"h1",{"id":244},"menu",[246,247,248,249,253,254,261,262,265,266,269],"p",{},"A WAI-ARIA menu button: a trigger opens a ",[250,251,252],"strong",{},"roving-tabindex"," action list. Unlike the Popover, open\u002Fclose,\nfocus movement, and click-outside dismissal are driven entirely by the ",[250,255,256,260],{},[257,258,259],"code",{},"@oriui\u002Fheadless"," menu\nmachine"," in JavaScript, not the Popover API — so the panel is not top-layer and carries a z-index. The\npanel is still placed with the same ",[250,263,264],{},"CSS Anchor Positioning"," primitive as the Popover (",[257,267,268],{},"ori-anchored","),\nzero positioning JS.",[246,271,272,273,276,277,282,283,288,289,293,294,299,300,303,304,307,308,311,312,315],{},"The examples are organised by ",[250,274,275],{},"layer",": the ",[278,279,281],"a",{"href":280},"#classes","class reference"," is the standalone\n",[250,284,285],{},[257,286,287],{},"@oriui\u002Fcss"," layer, and the ",[278,290,292],{"href":291},"#framework-api","Framework API"," is the ",[250,295,296],{},[257,297,298],{},"@oriui\u002Fvue"," component. Every\nexample is live — flip its code between ",[250,301,302],{},"HTML"," (the standalone classes, also your htmx \u002F Astro \u002F Svelte \u002F\nplain-HTML usage), ",[250,305,306],{},"Vue",", and ",[250,309,310],{},"Svelte"," (",[257,313,314],{},"@oriui\u002Fheadless\u002Fsvelte","); HTML is the default.",[317,318,320],"h2",{"id":319},"classes","Classes",[246,322,323,324,327,328,331,332,335,336,339,340,344,345,348,349,352],{},"A menu is the ",[257,325,326],{},".ori-menu"," surface class plus the shared ",[257,329,330],{},".ori-anchored"," placement primitive (and one\nplacement modifier); items are ",[257,333,334],{},".ori-menu__item",". The ",[257,337,338],{},".ori-anchored*"," classes are the same primitive\ndocumented on the ",[278,341,343],{"href":342},"\u002Fcomponents\u002Fpopover#classes","Popover page"," — placement, the collision flip, and the\n",[257,346,347],{},"--ori-anchor"," \u002F ",[257,350,351],{},"--ori-anchored-gap"," custom props are shared, not duplicated here.",[354,355],"class-table",{":rows":356},"[{\"class\":\"ori-menu\",\"type\":\"Block\",\"description\":\"The panel surface: sizing, padding, border, surface background + ori-shadow-lg + a z-index (not top-layer, unlike Popover). Composed with .ori-anchored for placement.\"},{\"class\":\"ori-anchored \u002F ori-anchored_*\",\"type\":\"Placement base\",\"description\":\"Shared floating-panel placement primitive — see the Popover class reference for the full modifier list.\"},{\"class\":\"ori-menu__item\",\"type\":\"Part\",\"description\":\"One action row (role=menuitem). Highlight follows roving focus \u002F pointer hover via [data-highlighted].\"},{\"class\":\"aria-disabled \u002F data-highlighted\",\"type\":\"State\",\"description\":\"real attributes, not classes — a disabled item is skipped by roving navigation.\"}]",[317,358,360],{"id":359},"basic","Basic",[246,362,363,364,367,368,371,372,375,376,379,380,383],{},"Open the menu and use the Arrow keys — focus moves between items with ",[250,365,366],{},"roving tabindex"," (one item is\n",[257,369,370],{},"tabindex=0"," at a time), not ",[257,373,374],{},"aria-activedescendant",". Click an item, or press ",[257,377,378],{},"Enter","\u002F",[257,381,382],{},"Space"," on the\nhighlighted one, to select and close.",[385,386,387,390,546,838],"example",{},[388,389],"menu-demo",{},[391,392,394],"template",{"v-slot:vue":393},"",[395,396,400],"pre",{"className":397,"code":398,"language":399,"meta":393,"style":393},"language-vue shiki shiki-themes github-light github-dark","\u003COriMenu\n    :items=\"[\n        { value: 'new', label: 'New file' },\n        { value: 'open', label: 'Open…' },\n        { value: 'delete', label: 'Delete' }\n    ]\"\n    @select=\"onSelect\"\n>\n    \u003Ctemplate #trigger=\"{ props }\">\n        \u003COriButton v-bind=\"props\" text=\"Actions\" variant=\"tonal\" \u002F>\n    \u003C\u002Ftemplate>\n\u003C\u002FOriMenu>\n","vue",[257,401,402,415,435,453,468,484,493,511,517,523,529,535],{"__ignoreMap":393},[403,404,407,411],"span",{"class":405,"line":406},"line",1,[403,408,410],{"class":409},"sVt8B","\u003C",[403,412,414],{"class":413},"s9eBZ","OriMenu\n",[403,416,418,421,425,428,432],{"class":405,"line":417},2,[403,419,420],{"class":409},"    :",[403,422,424],{"class":423},"sScJk","items",[403,426,427],{"class":409},"=",[403,429,431],{"class":430},"sZZnC","\"",[403,433,434],{"class":409},"[\n",[403,436,438,441,444,447,450],{"class":405,"line":437},3,[403,439,440],{"class":409},"        { value: ",[403,442,443],{"class":430},"'new'",[403,445,446],{"class":409},", label: ",[403,448,449],{"class":430},"'New file'",[403,451,452],{"class":409}," },\n",[403,454,456,458,461,463,466],{"class":405,"line":455},4,[403,457,440],{"class":409},[403,459,460],{"class":430},"'open'",[403,462,446],{"class":409},[403,464,465],{"class":430},"'Open…'",[403,467,452],{"class":409},[403,469,471,473,476,478,481],{"class":405,"line":470},5,[403,472,440],{"class":409},[403,474,475],{"class":430},"'delete'",[403,477,446],{"class":409},[403,479,480],{"class":430},"'Delete'",[403,482,483],{"class":409}," }\n",[403,485,487,490],{"class":405,"line":486},6,[403,488,489],{"class":409},"    ]",[403,491,492],{"class":430},"\"\n",[403,494,496,499,502,504,506,509],{"class":405,"line":495},7,[403,497,498],{"class":409},"    @",[403,500,501],{"class":423},"select",[403,503,427],{"class":409},[403,505,431],{"class":430},[403,507,508],{"class":409},"onSelect",[403,510,492],{"class":430},[403,512,514],{"class":405,"line":513},8,[403,515,516],{"class":409},">\n",[403,518,520],{"class":405,"line":519},9,[403,521,522],{"class":409},"    \u003Ctemplate #trigger=\"{ props }\">\n",[403,524,526],{"class":405,"line":525},10,[403,527,528],{"class":409},"        \u003COriButton v-bind=\"props\" text=\"Actions\" variant=\"tonal\" \u002F>\n",[403,530,532],{"class":405,"line":531},11,[403,533,534],{"class":409},"    \u003C\u002Ftemplate>\n",[403,536,538,541,544],{"class":405,"line":537},12,[403,539,540],{"class":409},"\u003C\u002F",[403,542,543],{"class":413},"OriMenu",[403,545,516],{"class":409},[391,547,548],{"v-slot:html":393},[395,549,553],{"className":550,"code":551,"language":552,"meta":393,"style":393},"language-html shiki shiki-themes github-light github-dark","\u003C!-- Structure only — the JS engine (roving tabindex, open\u002Fclose, click-outside) is not shown here. -->\n\u003Cbutton\n    id=\"menu-1-trigger\"\n    type=\"button\"\n    style=\"anchor-name: --menu-1\"\n    aria-haspopup=\"menu\"\n    aria-controls=\"menu-1\"\n    aria-expanded=\"false\"\n>\n    Actions\n\u003C\u002Fbutton>\n\u003Cdiv\n    id=\"menu-1\"\n    role=\"menu\"\n    tabindex=\"-1\"\n    class=\"ori-menu ori-anchored ori-anchored_bottom-start\"\n    style=\"--ori-anchor: --menu-1\"\n    aria-labelledby=\"menu-1-trigger\"\n    hidden\n>\n    \u003Cdiv role=\"menuitem\" tabindex=\"-1\" class=\"ori-menu__item\">New file\u003C\u002Fdiv>\n    \u003Cdiv role=\"menuitem\" tabindex=\"-1\" class=\"ori-menu__item\">Open…\u003C\u002Fdiv>\n    \u003Cdiv role=\"menuitem\" tabindex=\"-1\" class=\"ori-menu__item\">Delete\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n","html",[257,554,555,561,568,578,588,598,608,618,628,632,637,646,653,662,672,683,694,704,714,720,725,765,797,829],{"__ignoreMap":393},[403,556,557],{"class":405,"line":406},[403,558,560],{"class":559},"sJ8bj","\u003C!-- Structure only — the JS engine (roving tabindex, open\u002Fclose, click-outside) is not shown here. -->\n",[403,562,563,565],{"class":405,"line":417},[403,564,410],{"class":409},[403,566,567],{"class":413},"button\n",[403,569,570,573,575],{"class":405,"line":437},[403,571,572],{"class":423},"    id",[403,574,427],{"class":409},[403,576,577],{"class":430},"\"menu-1-trigger\"\n",[403,579,580,583,585],{"class":405,"line":455},[403,581,582],{"class":423},"    type",[403,584,427],{"class":409},[403,586,587],{"class":430},"\"button\"\n",[403,589,590,593,595],{"class":405,"line":470},[403,591,592],{"class":423},"    style",[403,594,427],{"class":409},[403,596,597],{"class":430},"\"anchor-name: --menu-1\"\n",[403,599,600,603,605],{"class":405,"line":486},[403,601,602],{"class":423},"    aria-haspopup",[403,604,427],{"class":409},[403,606,607],{"class":430},"\"menu\"\n",[403,609,610,613,615],{"class":405,"line":495},[403,611,612],{"class":423},"    aria-controls",[403,614,427],{"class":409},[403,616,617],{"class":430},"\"menu-1\"\n",[403,619,620,623,625],{"class":405,"line":513},[403,621,622],{"class":423},"    aria-expanded",[403,624,427],{"class":409},[403,626,627],{"class":430},"\"false\"\n",[403,629,630],{"class":405,"line":519},[403,631,516],{"class":409},[403,633,634],{"class":405,"line":525},[403,635,636],{"class":409},"    Actions\n",[403,638,639,641,644],{"class":405,"line":531},[403,640,540],{"class":409},[403,642,643],{"class":413},"button",[403,645,516],{"class":409},[403,647,648,650],{"class":405,"line":537},[403,649,410],{"class":409},[403,651,652],{"class":413},"div\n",[403,654,656,658,660],{"class":405,"line":655},13,[403,657,572],{"class":423},[403,659,427],{"class":409},[403,661,617],{"class":430},[403,663,665,668,670],{"class":405,"line":664},14,[403,666,667],{"class":423},"    role",[403,669,427],{"class":409},[403,671,607],{"class":430},[403,673,675,678,680],{"class":405,"line":674},15,[403,676,677],{"class":423},"    tabindex",[403,679,427],{"class":409},[403,681,682],{"class":430},"\"-1\"\n",[403,684,686,689,691],{"class":405,"line":685},16,[403,687,688],{"class":423},"    class",[403,690,427],{"class":409},[403,692,693],{"class":430},"\"ori-menu ori-anchored ori-anchored_bottom-start\"\n",[403,695,697,699,701],{"class":405,"line":696},17,[403,698,592],{"class":423},[403,700,427],{"class":409},[403,702,703],{"class":430},"\"--ori-anchor: --menu-1\"\n",[403,705,707,710,712],{"class":405,"line":706},18,[403,708,709],{"class":423},"    aria-labelledby",[403,711,427],{"class":409},[403,713,577],{"class":430},[403,715,717],{"class":405,"line":716},19,[403,718,719],{"class":423},"    hidden\n",[403,721,723],{"class":405,"line":722},20,[403,724,516],{"class":409},[403,726,728,731,734,737,739,742,745,747,750,753,755,758,761,763],{"class":405,"line":727},21,[403,729,730],{"class":409},"    \u003C",[403,732,733],{"class":413},"div",[403,735,736],{"class":423}," role",[403,738,427],{"class":409},[403,740,741],{"class":430},"\"menuitem\"",[403,743,744],{"class":423}," tabindex",[403,746,427],{"class":409},[403,748,749],{"class":430},"\"-1\"",[403,751,752],{"class":423}," class",[403,754,427],{"class":409},[403,756,757],{"class":430},"\"ori-menu__item\"",[403,759,760],{"class":409},">New file\u003C\u002F",[403,762,733],{"class":413},[403,764,516],{"class":409},[403,766,768,770,772,774,776,778,780,782,784,786,788,790,793,795],{"class":405,"line":767},22,[403,769,730],{"class":409},[403,771,733],{"class":413},[403,773,736],{"class":423},[403,775,427],{"class":409},[403,777,741],{"class":430},[403,779,744],{"class":423},[403,781,427],{"class":409},[403,783,749],{"class":430},[403,785,752],{"class":423},[403,787,427],{"class":409},[403,789,757],{"class":430},[403,791,792],{"class":409},">Open…\u003C\u002F",[403,794,733],{"class":413},[403,796,516],{"class":409},[403,798,800,802,804,806,808,810,812,814,816,818,820,822,825,827],{"class":405,"line":799},23,[403,801,730],{"class":409},[403,803,733],{"class":413},[403,805,736],{"class":423},[403,807,427],{"class":409},[403,809,741],{"class":430},[403,811,744],{"class":423},[403,813,427],{"class":409},[403,815,749],{"class":430},[403,817,752],{"class":423},[403,819,427],{"class":409},[403,821,757],{"class":430},[403,823,824],{"class":409},">Delete\u003C\u002F",[403,826,733],{"class":413},[403,828,516],{"class":409},[403,830,832,834,836],{"class":405,"line":831},24,[403,833,540],{"class":409},[403,835,733],{"class":413},[403,837,516],{"class":409},[391,839,840],{"v-slot:svelte":393},[395,841,845],{"className":842,"code":843,"language":844,"meta":393,"style":393},"language-svelte shiki shiki-themes github-light github-dark","\u003Cscript>\n    import { useMenu } from '@oriui\u002Fheadless\u002Fsvelte';\n\n    \u002F\u002F No styled Svelte component yet — drive the roving-tabindex menu with @oriui\u002Fheadless\u002Fsvelte.\n    let contentEl;\n    const { open, highlightedValue, items, triggerProps, contentProps, getItemProps } = useMenu({\n        id: 'actions',\n        items: [\n            { value: 'new', label: 'New file' },\n            { value: 'open', label: 'Open…' },\n            { value: 'delete', label: 'Delete' }\n        ],\n        onSelect: (value) => console.log(value)\n    });\n\n    \u002F\u002F Roving tabindex: move real DOM focus to the highlighted item (a projection can't touch the DOM).\n    \u002F\u002F Full parity also wires click-outside + focus-return — see OriMenu for the complete host.\n    $effect(() => {\n        if ($open && $highlightedValue != null) contentEl?.querySelector('[data-highlighted]')?.focus();\n    });\n\u003C\u002Fscript>\n\n\u003Cbutton {...$triggerProps} class=\"ori-button ori-variant_tonal ori-color_primary\" style=\"anchor-name: --actions\">\n    Actions\n\u003C\u002Fbutton>\n\n\u003Cdiv\n    {...$contentProps}\n    bind:this={contentEl}\n    class=\"ori-menu ori-anchored ori-anchored_bottom-start\"\n    style=\"--ori-anchor: --actions\"\n>\n    {#each $items as item, i}\n        \u003Cdiv {...$getItemProps(item, i)} class=\"ori-menu__item\">{item.label ?? item.value}\u003C\u002Fdiv>\n    {\u002Feach}\n\u003C\u002Fdiv>\n","svelte",[257,846,847,852,857,863,868,873,878,883,888,893,898,903,908,913,918,922,927,932,937,942,946,951,955,960,964,970,975,981,987,993,999,1005,1010,1016,1022,1028],{"__ignoreMap":393},[403,848,849],{"class":405,"line":406},[403,850,851],{},"\u003Cscript>\n",[403,853,854],{"class":405,"line":417},[403,855,856],{},"    import { useMenu } from '@oriui\u002Fheadless\u002Fsvelte';\n",[403,858,859],{"class":405,"line":437},[403,860,862],{"emptyLinePlaceholder":861},true,"\n",[403,864,865],{"class":405,"line":455},[403,866,867],{},"    \u002F\u002F No styled Svelte component yet — drive the roving-tabindex menu with @oriui\u002Fheadless\u002Fsvelte.\n",[403,869,870],{"class":405,"line":470},[403,871,872],{},"    let contentEl;\n",[403,874,875],{"class":405,"line":486},[403,876,877],{},"    const { open, highlightedValue, items, triggerProps, contentProps, getItemProps } = useMenu({\n",[403,879,880],{"class":405,"line":495},[403,881,882],{},"        id: 'actions',\n",[403,884,885],{"class":405,"line":513},[403,886,887],{},"        items: [\n",[403,889,890],{"class":405,"line":519},[403,891,892],{},"            { value: 'new', label: 'New file' },\n",[403,894,895],{"class":405,"line":525},[403,896,897],{},"            { value: 'open', label: 'Open…' },\n",[403,899,900],{"class":405,"line":531},[403,901,902],{},"            { value: 'delete', label: 'Delete' }\n",[403,904,905],{"class":405,"line":537},[403,906,907],{},"        ],\n",[403,909,910],{"class":405,"line":655},[403,911,912],{},"        onSelect: (value) => console.log(value)\n",[403,914,915],{"class":405,"line":664},[403,916,917],{},"    });\n",[403,919,920],{"class":405,"line":674},[403,921,862],{"emptyLinePlaceholder":861},[403,923,924],{"class":405,"line":685},[403,925,926],{},"    \u002F\u002F Roving tabindex: move real DOM focus to the highlighted item (a projection can't touch the DOM).\n",[403,928,929],{"class":405,"line":696},[403,930,931],{},"    \u002F\u002F Full parity also wires click-outside + focus-return — see OriMenu for the complete host.\n",[403,933,934],{"class":405,"line":706},[403,935,936],{},"    $effect(() => {\n",[403,938,939],{"class":405,"line":716},[403,940,941],{},"        if ($open && $highlightedValue != null) contentEl?.querySelector('[data-highlighted]')?.focus();\n",[403,943,944],{"class":405,"line":722},[403,945,917],{},[403,947,948],{"class":405,"line":727},[403,949,950],{},"\u003C\u002Fscript>\n",[403,952,953],{"class":405,"line":767},[403,954,862],{"emptyLinePlaceholder":861},[403,956,957],{"class":405,"line":799},[403,958,959],{},"\u003Cbutton {...$triggerProps} class=\"ori-button ori-variant_tonal ori-color_primary\" style=\"anchor-name: --actions\">\n",[403,961,962],{"class":405,"line":831},[403,963,636],{},[403,965,967],{"class":405,"line":966},25,[403,968,969],{},"\u003C\u002Fbutton>\n",[403,971,973],{"class":405,"line":972},26,[403,974,862],{"emptyLinePlaceholder":861},[403,976,978],{"class":405,"line":977},27,[403,979,980],{},"\u003Cdiv\n",[403,982,984],{"class":405,"line":983},28,[403,985,986],{},"    {...$contentProps}\n",[403,988,990],{"class":405,"line":989},29,[403,991,992],{},"    bind:this={contentEl}\n",[403,994,996],{"class":405,"line":995},30,[403,997,998],{},"    class=\"ori-menu ori-anchored ori-anchored_bottom-start\"\n",[403,1000,1002],{"class":405,"line":1001},31,[403,1003,1004],{},"    style=\"--ori-anchor: --actions\"\n",[403,1006,1008],{"class":405,"line":1007},32,[403,1009,516],{},[403,1011,1013],{"class":405,"line":1012},33,[403,1014,1015],{},"    {#each $items as item, i}\n",[403,1017,1019],{"class":405,"line":1018},34,[403,1020,1021],{},"        \u003Cdiv {...$getItemProps(item, i)} class=\"ori-menu__item\">{item.label ?? item.value}\u003C\u002Fdiv>\n",[403,1023,1025],{"class":405,"line":1024},35,[403,1026,1027],{},"    {\u002Feach}\n",[403,1029,1031],{"class":405,"line":1030},36,[403,1032,1033],{},"\u003C\u002Fdiv>\n",[317,1035,1037],{"id":1036},"placements","Placements",[246,1039,1040,1041,1044,1045,348,1048,348,1051,348,1054,1057,1058,348,1061,1064,1065,1067],{},"Twelve placements — ",[257,1042,1043],{},"bottom-start"," is the default. A bare side (",[257,1046,1047],{},"top",[257,1049,1050],{},"bottom",[257,1052,1053],{},"left",[257,1055,1056],{},"right",")\ncenters on the cross axis; ",[257,1059,1060],{},"-start",[257,1062,1063],{},"-end"," align to the trigger's start \u002F end edge (logical,\nRTL-aware). Same placement classes and collision-flip logic as the Popover, since both compose\n",[257,1066,330],{},".",[385,1069,1070,1072,1074,1076,1206],{},[388,1071],{"placement":1047},[388,1073],{"placement":1050},[388,1075],{"placement":1056},[391,1077,1078],{"v-slot:vue":393},[395,1079,1081],{"className":397,"code":1080,"language":399,"meta":393,"style":393},"\u003COriMenu :items=\"items\" placement=\"top\" @select=\"onSelect\">\n    \u003Ctemplate #trigger=\"{ props }\">\n        \u003COriButton v-bind=\"props\" text=\"top\" variant=\"tonal\" \u002F>\n    \u003C\u002Ftemplate>\n\u003C\u002FOriMenu>\n\u003COriMenu :items=\"items\" placement=\"right\" @select=\"onSelect\">\n    \u003Ctemplate #trigger=\"{ props }\">\n        \u003COriButton v-bind=\"props\" text=\"right\" variant=\"tonal\" \u002F>\n    \u003C\u002Ftemplate>\n\u003C\u002FOriMenu>\n",[257,1082,1083,1125,1129,1134,1138,1146,1185,1189,1194,1198],{"__ignoreMap":393},[403,1084,1085,1087,1089,1092,1094,1096,1098,1100,1102,1105,1107,1110,1113,1115,1117,1119,1121,1123],{"class":405,"line":406},[403,1086,410],{"class":409},[403,1088,543],{"class":413},[403,1090,1091],{"class":409}," :",[403,1093,424],{"class":423},[403,1095,427],{"class":409},[403,1097,431],{"class":430},[403,1099,424],{"class":409},[403,1101,431],{"class":430},[403,1103,1104],{"class":423}," placement",[403,1106,427],{"class":409},[403,1108,1109],{"class":430},"\"top\"",[403,1111,1112],{"class":409}," @",[403,1114,501],{"class":423},[403,1116,427],{"class":409},[403,1118,431],{"class":430},[403,1120,508],{"class":409},[403,1122,431],{"class":430},[403,1124,516],{"class":409},[403,1126,1127],{"class":405,"line":417},[403,1128,522],{"class":409},[403,1130,1131],{"class":405,"line":437},[403,1132,1133],{"class":409},"        \u003COriButton v-bind=\"props\" text=\"top\" variant=\"tonal\" \u002F>\n",[403,1135,1136],{"class":405,"line":455},[403,1137,534],{"class":409},[403,1139,1140,1142,1144],{"class":405,"line":470},[403,1141,540],{"class":409},[403,1143,543],{"class":413},[403,1145,516],{"class":409},[403,1147,1148,1150,1152,1154,1156,1158,1160,1162,1164,1166,1168,1171,1173,1175,1177,1179,1181,1183],{"class":405,"line":486},[403,1149,410],{"class":409},[403,1151,543],{"class":413},[403,1153,1091],{"class":409},[403,1155,424],{"class":423},[403,1157,427],{"class":409},[403,1159,431],{"class":430},[403,1161,424],{"class":409},[403,1163,431],{"class":430},[403,1165,1104],{"class":423},[403,1167,427],{"class":409},[403,1169,1170],{"class":430},"\"right\"",[403,1172,1112],{"class":409},[403,1174,501],{"class":423},[403,1176,427],{"class":409},[403,1178,431],{"class":430},[403,1180,508],{"class":409},[403,1182,431],{"class":430},[403,1184,516],{"class":409},[403,1186,1187],{"class":405,"line":495},[403,1188,522],{"class":409},[403,1190,1191],{"class":405,"line":513},[403,1192,1193],{"class":409},"        \u003COriButton v-bind=\"props\" text=\"right\" variant=\"tonal\" \u002F>\n",[403,1195,1196],{"class":405,"line":519},[403,1197,534],{"class":409},[403,1199,1200,1202,1204],{"class":405,"line":525},[403,1201,540],{"class":409},[403,1203,543],{"class":413},[403,1205,516],{"class":409},[391,1207,1208],{"v-slot:html":393},[395,1209,1211],{"className":550,"code":1210,"language":552,"meta":393,"style":393},"\u003C!-- swap the modifier: ori-anchored_top \u002F _top-start \u002F _top-end \u002F _bottom \u002F _bottom-start \u002F _bottom-end \u002F _left \u002F _left-start \u002F _left-end \u002F _right \u002F _right-start \u002F _right-end -->\n\u003Cdiv\n    id=\"menu-2\"\n    role=\"menu\"\n    tabindex=\"-1\"\n    class=\"ori-menu ori-anchored ori-anchored_top\"\n    style=\"--ori-anchor: --menu-2\"\n    hidden\n>\n    \u003Cdiv role=\"menuitem\" tabindex=\"-1\" class=\"ori-menu__item\">New file\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n",[257,1212,1213,1218,1224,1233,1241,1249,1258,1267,1271,1275,1305],{"__ignoreMap":393},[403,1214,1215],{"class":405,"line":406},[403,1216,1217],{"class":559},"\u003C!-- swap the modifier: ori-anchored_top \u002F _top-start \u002F _top-end \u002F _bottom \u002F _bottom-start \u002F _bottom-end \u002F _left \u002F _left-start \u002F _left-end \u002F _right \u002F _right-start \u002F _right-end -->\n",[403,1219,1220,1222],{"class":405,"line":417},[403,1221,410],{"class":409},[403,1223,652],{"class":413},[403,1225,1226,1228,1230],{"class":405,"line":437},[403,1227,572],{"class":423},[403,1229,427],{"class":409},[403,1231,1232],{"class":430},"\"menu-2\"\n",[403,1234,1235,1237,1239],{"class":405,"line":455},[403,1236,667],{"class":423},[403,1238,427],{"class":409},[403,1240,607],{"class":430},[403,1242,1243,1245,1247],{"class":405,"line":470},[403,1244,677],{"class":423},[403,1246,427],{"class":409},[403,1248,682],{"class":430},[403,1250,1251,1253,1255],{"class":405,"line":486},[403,1252,688],{"class":423},[403,1254,427],{"class":409},[403,1256,1257],{"class":430},"\"ori-menu ori-anchored ori-anchored_top\"\n",[403,1259,1260,1262,1264],{"class":405,"line":495},[403,1261,592],{"class":423},[403,1263,427],{"class":409},[403,1265,1266],{"class":430},"\"--ori-anchor: --menu-2\"\n",[403,1268,1269],{"class":405,"line":513},[403,1270,719],{"class":423},[403,1272,1273],{"class":405,"line":519},[403,1274,516],{"class":409},[403,1276,1277,1279,1281,1283,1285,1287,1289,1291,1293,1295,1297,1299,1301,1303],{"class":405,"line":525},[403,1278,730],{"class":409},[403,1280,733],{"class":413},[403,1282,736],{"class":423},[403,1284,427],{"class":409},[403,1286,741],{"class":430},[403,1288,744],{"class":423},[403,1290,427],{"class":409},[403,1292,749],{"class":430},[403,1294,752],{"class":423},[403,1296,427],{"class":409},[403,1298,757],{"class":430},[403,1300,760],{"class":409},[403,1302,733],{"class":413},[403,1304,516],{"class":409},[403,1306,1307,1309,1311],{"class":405,"line":531},[403,1308,540],{"class":409},[403,1310,733],{"class":413},[403,1312,516],{"class":409},[317,1314,1316],{"id":1315},"disabled-item","Disabled item",[246,1318,1319,1320,1323],{},"A disabled item is ",[257,1321,1322],{},"aria-disabled",", styled dimmed, and skipped by roving navigation and typeahead — it\ncan't be highlighted or selected.",[385,1325,1326,1328,1442],{},[388,1327],{},[391,1329,1330],{"v-slot:vue":393},[395,1331,1333],{"className":397,"code":1332,"language":399,"meta":393,"style":393},"\u003COriMenu\n    :items=\"[\n        { value: 'new', label: 'New file' },\n        { value: 'rename', label: 'Rename', disabled: true },\n        { value: 'delete', label: 'Delete' }\n    ]\"\n    @select=\"onSelect\"\n>\n    \u003Ctemplate #trigger=\"{ props }\">\n        \u003COriButton v-bind=\"props\" text=\"Actions\" variant=\"tonal\" \u002F>\n    \u003C\u002Ftemplate>\n\u003C\u002FOriMenu>\n",[257,1334,1335,1341,1353,1365,1386,1398,1404,1418,1422,1426,1430,1434],{"__ignoreMap":393},[403,1336,1337,1339],{"class":405,"line":406},[403,1338,410],{"class":409},[403,1340,414],{"class":413},[403,1342,1343,1345,1347,1349,1351],{"class":405,"line":417},[403,1344,420],{"class":409},[403,1346,424],{"class":423},[403,1348,427],{"class":409},[403,1350,431],{"class":430},[403,1352,434],{"class":409},[403,1354,1355,1357,1359,1361,1363],{"class":405,"line":437},[403,1356,440],{"class":409},[403,1358,443],{"class":430},[403,1360,446],{"class":409},[403,1362,449],{"class":430},[403,1364,452],{"class":409},[403,1366,1367,1369,1372,1374,1377,1380,1384],{"class":405,"line":455},[403,1368,440],{"class":409},[403,1370,1371],{"class":430},"'rename'",[403,1373,446],{"class":409},[403,1375,1376],{"class":430},"'Rename'",[403,1378,1379],{"class":409},", disabled: ",[403,1381,1383],{"class":1382},"sj4cs","true",[403,1385,452],{"class":409},[403,1387,1388,1390,1392,1394,1396],{"class":405,"line":470},[403,1389,440],{"class":409},[403,1391,475],{"class":430},[403,1393,446],{"class":409},[403,1395,480],{"class":430},[403,1397,483],{"class":409},[403,1399,1400,1402],{"class":405,"line":486},[403,1401,489],{"class":409},[403,1403,492],{"class":430},[403,1405,1406,1408,1410,1412,1414,1416],{"class":405,"line":495},[403,1407,498],{"class":409},[403,1409,501],{"class":423},[403,1411,427],{"class":409},[403,1413,431],{"class":430},[403,1415,508],{"class":409},[403,1417,492],{"class":430},[403,1419,1420],{"class":405,"line":513},[403,1421,516],{"class":409},[403,1423,1424],{"class":405,"line":519},[403,1425,522],{"class":409},[403,1427,1428],{"class":405,"line":525},[403,1429,528],{"class":409},[403,1431,1432],{"class":405,"line":531},[403,1433,534],{"class":409},[403,1435,1436,1438,1440],{"class":405,"line":537},[403,1437,540],{"class":409},[403,1439,543],{"class":413},[403,1441,516],{"class":409},[391,1443,1444],{"v-slot:html":393},[395,1445,1447],{"className":550,"code":1446,"language":552,"meta":393,"style":393},"\u003Cdiv role=\"menuitem\" tabindex=\"-1\" class=\"ori-menu__item\" aria-disabled=\"true\">Rename\u003C\u002Fdiv>\n",[257,1448,1449],{"__ignoreMap":393},[403,1450,1451,1453,1455,1457,1459,1461,1463,1465,1467,1469,1471,1473,1476,1478,1481,1484,1486],{"class":405,"line":406},[403,1452,410],{"class":409},[403,1454,733],{"class":413},[403,1456,736],{"class":423},[403,1458,427],{"class":409},[403,1460,741],{"class":430},[403,1462,744],{"class":423},[403,1464,427],{"class":409},[403,1466,749],{"class":430},[403,1468,752],{"class":423},[403,1470,427],{"class":409},[403,1472,757],{"class":430},[403,1474,1475],{"class":423}," aria-disabled",[403,1477,427],{"class":409},[403,1479,1480],{"class":430},"\"true\"",[403,1482,1483],{"class":409},">Rename\u003C\u002F",[403,1485,733],{"class":413},[403,1487,516],{"class":409},[317,1489,1491],{"id":1490},"custom-item-content","Custom item content",[246,1493,1494,1495,1498,1499,1067],{},"Override the ",[257,1496,1497],{},"#item"," slot for icons, shortcuts, or any richer row content — the default renders\n",[257,1500,1501],{},"label ?? value",[385,1503,1504,1506],{},[388,1505],{},[391,1507,1508],{"v-slot:vue":393},[395,1509,1511],{"className":397,"code":1510,"language":399,"meta":393,"style":393},"\u003COriMenu :items=\"items\" @select=\"onSelect\">\n    \u003Ctemplate #trigger=\"{ props }\">\n        \u003COriButton v-bind=\"props\" text=\"Actions\" variant=\"tonal\" \u002F>\n    \u003C\u002Ftemplate>\n    \u003Ctemplate #item=\"{ item }\">\n        \u003Cspan style=\"display: flex; justify-content: space-between; width: 100%\">\n            \u003Cspan>{{ item.label }}\u003C\u002Fspan>\n            \u003Cspan style=\"opacity: 0.6; font-size: 0.85em\" aria-hidden=\"true\">⌘K\u003C\u002Fspan>\n        \u003C\u002Fspan>\n    \u003C\u002Ftemplate>\n\u003C\u002FOriMenu>\n",[257,1512,1513,1545,1549,1553,1557,1562,1567,1572,1577,1582,1586],{"__ignoreMap":393},[403,1514,1515,1517,1519,1521,1523,1525,1527,1529,1531,1533,1535,1537,1539,1541,1543],{"class":405,"line":406},[403,1516,410],{"class":409},[403,1518,543],{"class":413},[403,1520,1091],{"class":409},[403,1522,424],{"class":423},[403,1524,427],{"class":409},[403,1526,431],{"class":430},[403,1528,424],{"class":409},[403,1530,431],{"class":430},[403,1532,1112],{"class":409},[403,1534,501],{"class":423},[403,1536,427],{"class":409},[403,1538,431],{"class":430},[403,1540,508],{"class":409},[403,1542,431],{"class":430},[403,1544,516],{"class":409},[403,1546,1547],{"class":405,"line":417},[403,1548,522],{"class":409},[403,1550,1551],{"class":405,"line":437},[403,1552,528],{"class":409},[403,1554,1555],{"class":405,"line":455},[403,1556,534],{"class":409},[403,1558,1559],{"class":405,"line":470},[403,1560,1561],{"class":409},"    \u003Ctemplate #item=\"{ item }\">\n",[403,1563,1564],{"class":405,"line":486},[403,1565,1566],{"class":409},"        \u003Cspan style=\"display: flex; justify-content: space-between; width: 100%\">\n",[403,1568,1569],{"class":405,"line":495},[403,1570,1571],{"class":409},"            \u003Cspan>{{ item.label }}\u003C\u002Fspan>\n",[403,1573,1574],{"class":405,"line":513},[403,1575,1576],{"class":409},"            \u003Cspan style=\"opacity: 0.6; font-size: 0.85em\" aria-hidden=\"true\">⌘K\u003C\u002Fspan>\n",[403,1578,1579],{"class":405,"line":519},[403,1580,1581],{"class":409},"        \u003C\u002Fspan>\n",[403,1583,1584],{"class":405,"line":525},[403,1585,534],{"class":409},[403,1587,1588,1590,1592],{"class":405,"line":531},[403,1589,540],{"class":409},[403,1591,543],{"class":413},[403,1593,516],{"class":409},[317,1595,1597],{"id":1596},"common-patterns","Common patterns",[246,1599,1600],{},"A toolbar \"more actions\" button — a typical menu-button use case.",[385,1602,1603,1606,1741],{},[388,1604],{"placement":1605},"bottom-end",[391,1607,1608],{"v-slot:vue":393},[395,1609,1611],{"className":397,"code":1610,"language":399,"meta":393,"style":393},"\u003COriMenu\n    :items=\"[\n        { value: 'edit', label: 'Edit' },\n        { value: 'duplicate', label: 'Duplicate' },\n        { value: 'archive', label: 'Archive' },\n        { value: 'delete', label: 'Delete' }\n    ]\"\n    placement=\"bottom-end\"\n    @select=\"onAction\"\n>\n    \u003Ctemplate #trigger=\"{ props }\">\n        \u003COriButton v-bind=\"props\" icon=\"M12 8a2 2 0 100-4 2 2 0 000 4zm0 6a2 2 0 100-4 2 2 0 000 4zm0 6a2 2 0 100-4 2 2 0 000 4z\" aria-label=\"More actions\" variant=\"text\" \u002F>\n    \u003C\u002Ftemplate>\n\u003C\u002FOriMenu>\n",[257,1612,1613,1619,1631,1645,1659,1673,1685,1691,1701,1716,1720,1724,1729,1733],{"__ignoreMap":393},[403,1614,1615,1617],{"class":405,"line":406},[403,1616,410],{"class":409},[403,1618,414],{"class":413},[403,1620,1621,1623,1625,1627,1629],{"class":405,"line":417},[403,1622,420],{"class":409},[403,1624,424],{"class":423},[403,1626,427],{"class":409},[403,1628,431],{"class":430},[403,1630,434],{"class":409},[403,1632,1633,1635,1638,1640,1643],{"class":405,"line":437},[403,1634,440],{"class":409},[403,1636,1637],{"class":430},"'edit'",[403,1639,446],{"class":409},[403,1641,1642],{"class":430},"'Edit'",[403,1644,452],{"class":409},[403,1646,1647,1649,1652,1654,1657],{"class":405,"line":455},[403,1648,440],{"class":409},[403,1650,1651],{"class":430},"'duplicate'",[403,1653,446],{"class":409},[403,1655,1656],{"class":430},"'Duplicate'",[403,1658,452],{"class":409},[403,1660,1661,1663,1666,1668,1671],{"class":405,"line":470},[403,1662,440],{"class":409},[403,1664,1665],{"class":430},"'archive'",[403,1667,446],{"class":409},[403,1669,1670],{"class":430},"'Archive'",[403,1672,452],{"class":409},[403,1674,1675,1677,1679,1681,1683],{"class":405,"line":486},[403,1676,440],{"class":409},[403,1678,475],{"class":430},[403,1680,446],{"class":409},[403,1682,480],{"class":430},[403,1684,483],{"class":409},[403,1686,1687,1689],{"class":405,"line":495},[403,1688,489],{"class":409},[403,1690,492],{"class":430},[403,1692,1693,1696,1698],{"class":405,"line":513},[403,1694,1695],{"class":423},"    placement",[403,1697,427],{"class":409},[403,1699,1700],{"class":430},"\"bottom-end\"\n",[403,1702,1703,1705,1707,1709,1711,1714],{"class":405,"line":519},[403,1704,498],{"class":409},[403,1706,501],{"class":423},[403,1708,427],{"class":409},[403,1710,431],{"class":430},[403,1712,1713],{"class":409},"onAction",[403,1715,492],{"class":430},[403,1717,1718],{"class":405,"line":525},[403,1719,516],{"class":409},[403,1721,1722],{"class":405,"line":531},[403,1723,522],{"class":409},[403,1725,1726],{"class":405,"line":537},[403,1727,1728],{"class":409},"        \u003COriButton v-bind=\"props\" icon=\"M12 8a2 2 0 100-4 2 2 0 000 4zm0 6a2 2 0 100-4 2 2 0 000 4zm0 6a2 2 0 100-4 2 2 0 000 4z\" aria-label=\"More actions\" variant=\"text\" \u002F>\n",[403,1730,1731],{"class":405,"line":655},[403,1732,534],{"class":409},[403,1734,1735,1737,1739],{"class":405,"line":664},[403,1736,540],{"class":409},[403,1738,543],{"class":413},[403,1740,516],{"class":409},[391,1742,1743],{"v-slot:html":393},[395,1744,1746],{"className":550,"code":1745,"language":552,"meta":393,"style":393},"\u003C!-- Structure only — see Basic above for the full markup shape. -->\n\u003Cbutton\n    id=\"menu-more-trigger\"\n    type=\"button\"\n    style=\"anchor-name: --menu-more\"\n    aria-haspopup=\"menu\"\n    aria-controls=\"menu-more\"\n    aria-expanded=\"false\"\n    aria-label=\"More actions\"\n>\n    ⋮\n\u003C\u002Fbutton>\n",[257,1747,1748,1753,1759,1768,1776,1785,1793,1802,1810,1820,1824,1829],{"__ignoreMap":393},[403,1749,1750],{"class":405,"line":406},[403,1751,1752],{"class":559},"\u003C!-- Structure only — see Basic above for the full markup shape. -->\n",[403,1754,1755,1757],{"class":405,"line":417},[403,1756,410],{"class":409},[403,1758,567],{"class":413},[403,1760,1761,1763,1765],{"class":405,"line":437},[403,1762,572],{"class":423},[403,1764,427],{"class":409},[403,1766,1767],{"class":430},"\"menu-more-trigger\"\n",[403,1769,1770,1772,1774],{"class":405,"line":455},[403,1771,582],{"class":423},[403,1773,427],{"class":409},[403,1775,587],{"class":430},[403,1777,1778,1780,1782],{"class":405,"line":470},[403,1779,592],{"class":423},[403,1781,427],{"class":409},[403,1783,1784],{"class":430},"\"anchor-name: --menu-more\"\n",[403,1786,1787,1789,1791],{"class":405,"line":486},[403,1788,602],{"class":423},[403,1790,427],{"class":409},[403,1792,607],{"class":430},[403,1794,1795,1797,1799],{"class":405,"line":495},[403,1796,612],{"class":423},[403,1798,427],{"class":409},[403,1800,1801],{"class":430},"\"menu-more\"\n",[403,1803,1804,1806,1808],{"class":405,"line":513},[403,1805,622],{"class":423},[403,1807,427],{"class":409},[403,1809,627],{"class":430},[403,1811,1812,1815,1817],{"class":405,"line":519},[403,1813,1814],{"class":423},"    aria-label",[403,1816,427],{"class":409},[403,1818,1819],{"class":430},"\"More actions\"\n",[403,1821,1822],{"class":405,"line":525},[403,1823,516],{"class":409},[403,1825,1826],{"class":405,"line":531},[403,1827,1828],{"class":409},"    ⋮\n",[403,1830,1831,1833,1835],{"class":405,"line":537},[403,1832,540],{"class":409},[403,1834,643],{"class":413},[403,1836,516],{"class":409},[317,1838,210],{"id":1839},"accessibility",[246,1841,1842,1843,1846,1847,1849],{},"The accessibility contract holds across every layer — the standalone classes and the Vue component\nrender the same attributes. Unlike the Popover, the interactive behaviour here is ",[250,1844,1845],{},"not"," free from the\nplatform: open\u002Fclose, focus movement, and dismissal are driven by the ",[257,1848,259],{}," menu machine in\nJavaScript.",[1851,1852,1853,1871,1894,1911,1927,1933],"ul",{},[1854,1855,1856,1862,1863,1866,1867,1870],"li",{},[250,1857,1858,1859],{},"The trigger MUST be a real ",[257,1860,1861],{},"\u003Cbutton>"," (or a component that renders one, e.g. ",[257,1864,1865],{},"OriButton",") and\nneeds an accessible name (visible text or ",[257,1868,1869],{},"aria-label",").",[1854,1872,1873,1874,1877,1878,1881,1882,1885,1886,1889,1890,1893],{},"The trigger carries ",[257,1875,1876],{},"aria-haspopup=\"menu\"",", ",[257,1879,1880],{},"aria-controls"," pointing at the panel id, and a live\n",[257,1883,1884],{},"aria-expanded"," that tracks open state (unlike Popover, this one ",[250,1887,1888],{},"is"," managed — the engine owns\n",[257,1891,1892],{},"open",", not the platform).",[1854,1895,1896,1897,1877,1900,1903,1904,1907,1908,1067],{},"The panel is ",[257,1898,1899],{},"role=\"menu\"",[257,1901,1902],{},"aria-labelledby"," the trigger, and ",[257,1905,1906],{},"aria-orientation=\"vertical\"",". Items\nare ",[257,1909,1910],{},"role=\"menuitem\"",[1854,1912,1913,1916,1917,1920,1921,1924,1925,1067],{},[250,1914,1915],{},"Roving tabindex",": exactly one item (the highlighted one) is ",[257,1918,1919],{},"tabindex=\"0\"","; the rest are\n",[257,1922,1923],{},"tabindex=\"-1\"",". Real DOM focus moves to the highlighted item as you navigate — there is no\n",[257,1926,374],{},[1854,1928,1319,1929,1932],{},[257,1930,1931],{},"aria-disabled=\"true\""," and is skipped by Arrow\u002FHome\u002FEnd navigation and selection.",[1854,1934,1935,1936,379,1938,1940,1941,1943,1944,1877,1947,1950],{},"Selecting an item (click, or ",[257,1937,378],{},[257,1939,382],{}," while highlighted) fires ",[257,1942,501],{}," and closes the menu,\nreturning focus to the trigger. ",[257,1945,1946],{},"Escape",[257,1948,1949],{},"Tab",", and an outside click also close it and return focus.",[1952,1953,1954,1967],"table",{},[1955,1956,1957],"thead",{},[1958,1959,1960,1964],"tr",{},[1961,1962,1963],"th",{},"Key",[1961,1965,1966],{},"Action",[1968,1969,1970,1983,1992,2002,2013,2026,2041,2050,2059],"tbody",{},[1958,1971,1972,1980],{},[1973,1974,1975,348,1977,1979],"td",{},[257,1976,378],{},[257,1978,382],{}," (on trigger)",[1973,1981,1982],{},"Opens the menu and highlights the first item.",[1958,1984,1985,1990],{},[1973,1986,1987,1979],{},[257,1988,1989],{},"↓",[1973,1991,1982],{},[1958,1993,1994,1999],{},[1973,1995,1996,1979],{},[257,1997,1998],{},"↑",[1973,2000,2001],{},"Opens the menu and highlights the last item.",[1958,2003,2004,2010],{},[1973,2005,2006,348,2008],{},[257,2007,1989],{},[257,2009,1998],{},[1973,2011,2012],{},"Moves the highlight to the next \u002F previous enabled item (wraps).",[1958,2014,2015,2023],{},[1973,2016,2017,348,2020],{},[257,2018,2019],{},"Home",[257,2021,2022],{},"End",[1973,2024,2025],{},"Highlights the first \u002F last enabled item.",[1958,2027,2028,2035],{},[1973,2029,2030,348,2032,2034],{},[257,2031,378],{},[257,2033,382],{}," (on item)",[1973,2036,2037,2038,2040],{},"Activates the highlighted item — fires ",[257,2039,501],{},", then closes.",[1958,2042,2043,2047],{},[1973,2044,2045],{},[257,2046,1946],{},[1973,2048,2049],{},"Closes the menu and returns focus to the trigger.",[1958,2051,2052,2056],{},[1973,2053,2054],{},[257,2055,1949],{},[1973,2057,2058],{},"Closes the menu and moves focus onward (does not trap focus).",[1958,2060,2061,2064],{},[1973,2062,2063],{},"Outside click",[1973,2065,2049],{},[317,2067,292],{"id":2068},"framework-api",[246,2070,2071,2072,2074,2075,2077,2078,2082,2083,2086],{},"The props, events, and slots of the ",[250,2073,306],{}," component. The standalone CSS layer has no component\nAPI — its surface is the ",[278,2076,319],{"href":280}," above; the roving-tabindex keyboard and open\u002Fclose\nbehaviour is JavaScript you'd need to author yourself, or get from ",[278,2079,2080],{"href":161},[257,2081,186],{}," in\n",[257,2084,2085],{},"@oriui\u002Fheadless\u002Fvue",". (Svelte bindings are planned.)",[2088,2089,2091],"h3",{"id":2090},"props","Props",[1952,2093,2094,2110],{},[1955,2095,2096],{},[1958,2097,2098,2101,2104,2107],{},[1961,2099,2100],{},"Prop",[1961,2102,2103],{},"Type",[1961,2105,2106],{},"Default",[1961,2108,2109],{},"Description",[1968,2111,2112,2134,2154],{},[1958,2113,2114,2118,2123,2128],{},[1973,2115,2116],{},[257,2117,424],{},[1973,2119,2120],{},[257,2121,2122],{},"MenuItem[]",[1973,2124,2125],{},[250,2126,2127],{},"required",[1973,2129,2130,2133],{},[257,2131,2132],{},"{ value: string; label?: string; disabled?: boolean }[]",", in render order.",[1958,2135,2136,2141,2146,2151],{},[1973,2137,2138],{},[257,2139,2140],{},"disabled",[1973,2142,2143],{},[257,2144,2145],{},"boolean",[1973,2147,2148],{},[257,2149,2150],{},"false",[1973,2152,2153],{},"Disables the trigger and blocks opening the menu.",[1958,2155,2156,2161,2172,2177],{},[1973,2157,2158],{},[257,2159,2160],{},"placement",[1973,2162,2163,2166,2167,348,2169,2171],{},[257,2164,2165],{},"'top' | 'bottom' | 'left' | 'right'"," (each also ",[257,2168,1060],{},[257,2170,1063],{},")",[1973,2173,2174],{},[257,2175,2176],{},"'bottom-start'",[1973,2178,2179,2180,2183],{},"Placement relative to the trigger. Drives the ",[257,2181,2182],{},"ori-anchored_\u003Cplacement>"," modifier.",[2088,2185,2187],{"id":2186},"events-attributes","Events & attributes",[1952,2189,2190,2203],{},[1955,2191,2192],{},[1958,2193,2194,2197,2200],{},[1961,2195,2196],{},"Event",[1961,2198,2199],{},"Payload",[1961,2201,2202],{},"Fired when",[1968,2204,2205],{},[1958,2206,2207,2211,2216],{},[1973,2208,2209],{},[257,2210,501],{},[1973,2212,2213],{},[257,2214,2215],{},"string",[1973,2217,2218,2219,379,2221,2223,2224,2227],{},"An item is activated (click, or ",[257,2220,378],{},[257,2222,382],{}," on the highlighted item) — carries the item's ",[257,2225,2226],{},"value",". The menu closes right after.",[246,2229,2230,2231,2234,2235,2238],{},"It sets ",[257,2232,2233],{},"inheritAttrs: false","; attributes placed on ",[257,2236,2237],{},"\u003COriMenu>"," fall through to the panel element, not\nthe trigger.",[2088,2240,2242],{"id":2241},"slots","Slots",[1952,2244,2245,2257],{},[1955,2246,2247],{},[1958,2248,2249,2252,2255],{},[1961,2250,2251],{},"Slot",[1961,2253,2254],{},"Scope",[1961,2256,2109],{},[1968,2258,2259,2284],{},[1958,2260,2261,2266,2271],{},[1973,2262,2263],{},[257,2264,2265],{},"trigger",[1973,2267,2268],{},[257,2269,2270],{},"{ props: object }",[1973,2272,2273,2274,2277,2278,2280,2281,2283],{},"The control that opens the menu. Spread ",[257,2275,2276],{},"v-bind=\"props\""," on your own ",[257,2279,1861],{}," (or ",[257,2282,1865],{},") — it must be a button.",[1958,2285,2286,2291,2296],{},[1973,2287,2288],{},[257,2289,2290],{},"item",[1973,2292,2293],{},[257,2294,2295],{},"{ item: MenuItem }",[1973,2297,2298,2299,2302],{},"Replaces one item's content. Falls back to ",[257,2300,2301],{},"item.label ?? item.value"," when omitted.",[246,2304,2305,2306,2308,2309,2311],{},"There is no default slot — menu content is driven entirely by ",[257,2307,424],{}," + the ",[257,2310,1497],{}," slot.",[2313,2314,2315],"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 pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}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);}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}",{"title":393,"searchDepth":417,"depth":417,"links":2317},[2318,2319,2320,2321,2322,2323,2324,2325],{"id":319,"depth":417,"text":320},{"id":359,"depth":417,"text":360},{"id":1036,"depth":417,"text":1037},{"id":1315,"depth":417,"text":1316},{"id":1490,"depth":417,"text":1491},{"id":1596,"depth":417,"text":1597},{"id":1839,"depth":417,"text":210},{"id":2068,"depth":417,"text":292,"children":2326},[2327,2328,2329],{"id":2090,"depth":437,"text":2091},{"id":2186,"depth":437,"text":2187},{"id":2241,"depth":437,"text":2242},"md",{},{"title":74,"description":75},"components\u002Fmenu","qvRKjoY4vJ_bjzU65ri2D1gx_ZxcgP_EsPGhD9onsy4",1783874705320]