[{"data":1,"prerenderedAt":3011},["ShallowReactive",2],{"cmdk-index":3,"content:\u002Fcomponents\u002Finput":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":58,"body":238,"description":59,"extension":792,"meta":3007,"navigation":580,"path":57,"seo":3008,"stem":3009,"__hash__":3010},"docs\u002Fcomponents\u002Finput.md",{"type":239,"value":240,"toc":2989},"minimark",[241,245,293,327,332,342,346,350,361,589,593,599,759,763,781,963,967,981,1087,1091,1108,1362,1366,1388,1628,1632,1637,1705,1709,1737,1881,1885,1888,2355,2358,2361,2447,2477,2480,2490,2495,2840,2844,2864,2895,2913,2957,2961,2964,2985],[242,243,58],"h1",{"id":244},"input",[246,247,248,249,253,254,257,258,261,262,265,266,269,270,273,274,277,278,257,281,284,285,288,289,292],"p",{},"A labelled, accessible text field with ",[250,251,252],"code",{},"v-model",". State is expressed through real attributes — the\nnative ",[250,255,256],{},"disabled",", ",[250,259,260],{},"aria-invalid"," when there is an error, and an ",[250,263,264],{},"aria-describedby"," that points at\nthe rendered hint or error. The label is wired to the field with ",[250,267,268],{},"for","\u002F",[250,271,272],{},"id"," (auto-generated via\n",[250,275,276],{},"useId"," when you don't pass one), and arbitrary native attributes (",[250,279,280],{},"name",[250,282,283],{},"autocomplete",",\n",[250,286,287],{},"inputmode",", …) fall through to the underlying ",[250,290,291],{},"\u003Cinput>",".",[246,294,295,296,300,301,306,307,310,311,314,315,320,321,326],{},"This page is laid out by ",[297,298,299],"strong",{},"layer",". The live demos are the ",[297,302,303],{},[250,304,305],{},"@oriui\u002Fcss"," layer — their code\ndefaults to ",[297,308,309],{},"HTML"," (the standalone classes, also your htmx \u002F Astro \u002F Svelte \u002F plain-HTML usage),\nwith ",[297,312,313],{},"Vue"," one tab away; the ",[316,317,319],"a",{"href":318},"#framework-api","Framework API"," documents the\n",[297,322,323],{},[250,324,325],{},"@oriui\u002Fvue"," component. Input is pure CSS — there is no behaviour layer in between.",[328,329,331],"h2",{"id":330},"classes","Classes",[246,333,334,335,338,339,341],{},"A field is a block wrapper with single-class token utilities — one class repoints one token; no\nseparate base class is needed. The ",[250,336,337],{},"ori-color_*"," accent drives the focus ring; the idle border is a\nneutral, theme-aware blend. The Vue props in ",[316,340,319],{"href":318}," map 1:1 to these.",[343,344],"class-table",{":rows":345},"[{\"class\":\"ori-input\",\"type\":\"Block\",\"description\":\"Required base class (wrapper div).\"},{\"class\":\"ori-input_*\",\"type\":\"Style\",\"description\":\"\u003Cb>outline\u003C\u002Fb> · fill\"},{\"class\":\"ori-color_*\",\"type\":\"Color\",\"description\":\"\u003Cb>primary\u003C\u002Fb> · secondary · success · warn · danger · info · surface · background (focus ring accent)\"},{\"class\":\"ori-input_* (size)\",\"type\":\"Size\",\"description\":\"xs · sm · \u003Cb>md\u003C\u002Fb> · lg · xl · xxl field height (size sugar on the wrapper)\"},{\"class\":\"ori-size-radius_*\",\"type\":\"Radius\",\"description\":\"zero · xs · sm · \u003Cb>md\u003C\u002Fb> · lg · xl · rounded (field corners)\"},{\"class\":\"ori-font-size_*\",\"type\":\"Font\",\"description\":\"xs · sm · \u003Cb>md\u003C\u002Fb> · lg · xl · xxl (label + field text scale)\"},{\"class\":\"ori-input__label · ori-input__required · ori-input__field · ori-input__hint · ori-input__error\",\"type\":\"Part\",\"description\":\"label \u002F required-asterisk \u002F input \u002F helper \u002F error elements\"},{\"class\":\"ori-input_fluid\",\"type\":\"Layout\",\"description\":\"full-width (stretches wrapper to 100 %)\"},{\"class\":\"disabled · aria-invalid · aria-describedby\",\"type\":\"State\",\"description\":\"real attributes, not classes\"}]",[328,347,349],{"id":348},"variants","Variants",[246,351,352,353,356,357,360],{},"Two visual styles — ",[250,354,355],{},"outline"," (default, border visible at rest) and ",[250,358,359],{},"fill"," (tinted background, no\nborder).",[362,363,364,369,372,479],"example",{},[365,366],"ori-input",{"label":367,"placeholder":368,"variant":355},"Outline","Type here",[365,370],{"label":371,"placeholder":368,"variant":359},"Fill",[373,374,376],"template",{"v-slot:vue":375},"",[377,378,382],"pre",{"className":379,"code":380,"language":381,"meta":375,"style":375},"language-vue shiki shiki-themes github-light github-dark","\u003COriInput v-model=\"value\" label=\"Outline\" placeholder=\"Type here\" variant=\"outline\" \u002F>\n\u003COriInput v-model=\"value\" label=\"Fill\" placeholder=\"Type here\" variant=\"fill\" \u002F>\n","vue",[250,383,384,440],{"__ignoreMap":375},[385,386,389,393,397,401,404,408,411,413,416,418,421,424,426,429,432,434,437],"span",{"class":387,"line":388},"line",1,[385,390,392],{"class":391},"sVt8B","\u003C",[385,394,396],{"class":395},"s9eBZ","OriInput",[385,398,400],{"class":399},"sScJk"," v-model",[385,402,403],{"class":391},"=",[385,405,407],{"class":406},"sZZnC","\"",[385,409,410],{"class":391},"value",[385,412,407],{"class":406},[385,414,415],{"class":399}," label",[385,417,403],{"class":391},[385,419,420],{"class":406},"\"Outline\"",[385,422,423],{"class":399}," placeholder",[385,425,403],{"class":391},[385,427,428],{"class":406},"\"Type here\"",[385,430,431],{"class":399}," variant",[385,433,403],{"class":391},[385,435,436],{"class":406},"\"outline\"",[385,438,439],{"class":391}," \u002F>\n",[385,441,443,445,447,449,451,453,455,457,459,461,464,466,468,470,472,474,477],{"class":387,"line":442},2,[385,444,392],{"class":391},[385,446,396],{"class":395},[385,448,400],{"class":399},[385,450,403],{"class":391},[385,452,407],{"class":406},[385,454,410],{"class":391},[385,456,407],{"class":406},[385,458,415],{"class":399},[385,460,403],{"class":391},[385,462,463],{"class":406},"\"Fill\"",[385,465,423],{"class":399},[385,467,403],{"class":391},[385,469,428],{"class":406},[385,471,431],{"class":399},[385,473,403],{"class":391},[385,475,476],{"class":406},"\"fill\"",[385,478,439],{"class":391},[373,480,481],{"v-slot:html":375},[377,482,486],{"className":483,"code":484,"language":485,"meta":375,"style":375},"language-html shiki shiki-themes github-light github-dark","\u003Cdiv class=\"ori-input ori-color_primary ori-font-size_md ori-input_outline\">\n    \u003Clabel class=\"ori-input__label\" for=\"f1\">Outline\u003C\u002Flabel>\n    \u003Cinput id=\"f1\" placeholder=\"Type here\" class=\"ori-input__field ori-size-radius_md\" \u002F>\n\u003C\u002Fdiv>\n\n\u003C!-- swap the variant: ori-input_outline → ori-input_fill -->\n","html",[250,487,488,506,536,565,575,582],{"__ignoreMap":375},[385,489,490,492,495,498,500,503],{"class":387,"line":388},[385,491,392],{"class":391},[385,493,494],{"class":395},"div",[385,496,497],{"class":399}," class",[385,499,403],{"class":391},[385,501,502],{"class":406},"\"ori-input ori-color_primary ori-font-size_md ori-input_outline\"",[385,504,505],{"class":391},">\n",[385,507,508,511,514,516,518,521,524,526,529,532,534],{"class":387,"line":442},[385,509,510],{"class":391},"    \u003C",[385,512,513],{"class":395},"label",[385,515,497],{"class":399},[385,517,403],{"class":391},[385,519,520],{"class":406},"\"ori-input__label\"",[385,522,523],{"class":399}," for",[385,525,403],{"class":391},[385,527,528],{"class":406},"\"f1\"",[385,530,531],{"class":391},">Outline\u003C\u002F",[385,533,513],{"class":395},[385,535,505],{"class":391},[385,537,539,541,543,546,548,550,552,554,556,558,560,563],{"class":387,"line":538},3,[385,540,510],{"class":391},[385,542,244],{"class":395},[385,544,545],{"class":399}," id",[385,547,403],{"class":391},[385,549,528],{"class":406},[385,551,423],{"class":399},[385,553,403],{"class":391},[385,555,428],{"class":406},[385,557,497],{"class":399},[385,559,403],{"class":391},[385,561,562],{"class":406},"\"ori-input__field ori-size-radius_md\"",[385,564,439],{"class":391},[385,566,568,571,573],{"class":387,"line":567},4,[385,569,570],{"class":391},"\u003C\u002F",[385,572,494],{"class":395},[385,574,505],{"class":391},[385,576,578],{"class":387,"line":577},5,[385,579,581],{"emptyLinePlaceholder":580},true,"\n",[385,583,585],{"class":387,"line":584},6,[385,586,588],{"class":587},"sJ8bj","\u003C!-- swap the variant: ori-input_outline → ori-input_fill -->\n",[328,590,592],{"id":591},"colors","Colors",[246,594,595,596,598],{},"The ",[250,597,337],{}," class controls the focus ring (and the danger color inherits for error text).",[362,600,601,604,607,610,613,683],{},[365,602],{"label":603,"placeholder":603,"color":603},"primary",[365,605],{"label":606,"placeholder":606,"color":606},"secondary",[365,608],{"label":609,"placeholder":609,"color":609},"success",[365,611],{"label":612,"placeholder":612,"color":612},"danger",[373,614,615],{"v-slot:vue":375},[377,616,618],{"className":379,"code":617,"language":381,"meta":375,"style":375},"\u003COriInput v-model=\"value\" label=\"primary\" color=\"primary\" \u002F>\n\u003COriInput v-model=\"value\" label=\"danger\" color=\"danger\" \u002F>\n",[250,619,620,652],{"__ignoreMap":375},[385,621,622,624,626,628,630,632,634,636,638,640,643,646,648,650],{"class":387,"line":388},[385,623,392],{"class":391},[385,625,396],{"class":395},[385,627,400],{"class":399},[385,629,403],{"class":391},[385,631,407],{"class":406},[385,633,410],{"class":391},[385,635,407],{"class":406},[385,637,415],{"class":399},[385,639,403],{"class":391},[385,641,642],{"class":406},"\"primary\"",[385,644,645],{"class":399}," color",[385,647,403],{"class":391},[385,649,642],{"class":406},[385,651,439],{"class":391},[385,653,654,656,658,660,662,664,666,668,670,672,675,677,679,681],{"class":387,"line":442},[385,655,392],{"class":391},[385,657,396],{"class":395},[385,659,400],{"class":399},[385,661,403],{"class":391},[385,663,407],{"class":406},[385,665,410],{"class":391},[385,667,407],{"class":406},[385,669,415],{"class":399},[385,671,403],{"class":391},[385,673,674],{"class":406},"\"danger\"",[385,676,645],{"class":399},[385,678,403],{"class":391},[385,680,674],{"class":406},[385,682,439],{"class":391},[373,684,685],{"v-slot:html":375},[377,686,688],{"className":483,"code":687,"language":485,"meta":375,"style":375},"\u003Cdiv class=\"ori-input ori-color_danger ori-font-size_md ori-input_outline\">\n    \u003Clabel class=\"ori-input__label\" for=\"f2\">danger\u003C\u002Flabel>\n    \u003Cinput id=\"f2\" class=\"ori-input__field ori-size-radius_md\" \u002F>\n\u003C\u002Fdiv>\n",[250,689,690,705,731,751],{"__ignoreMap":375},[385,691,692,694,696,698,700,703],{"class":387,"line":388},[385,693,392],{"class":391},[385,695,494],{"class":395},[385,697,497],{"class":399},[385,699,403],{"class":391},[385,701,702],{"class":406},"\"ori-input ori-color_danger ori-font-size_md ori-input_outline\"",[385,704,505],{"class":391},[385,706,707,709,711,713,715,717,719,721,724,727,729],{"class":387,"line":442},[385,708,510],{"class":391},[385,710,513],{"class":395},[385,712,497],{"class":399},[385,714,403],{"class":391},[385,716,520],{"class":406},[385,718,523],{"class":399},[385,720,403],{"class":391},[385,722,723],{"class":406},"\"f2\"",[385,725,726],{"class":391},">danger\u003C\u002F",[385,728,513],{"class":395},[385,730,505],{"class":391},[385,732,733,735,737,739,741,743,745,747,749],{"class":387,"line":538},[385,734,510],{"class":391},[385,736,244],{"class":395},[385,738,545],{"class":399},[385,740,403],{"class":391},[385,742,723],{"class":406},[385,744,497],{"class":399},[385,746,403],{"class":391},[385,748,562],{"class":406},[385,750,439],{"class":391},[385,752,753,755,757],{"class":387,"line":567},[385,754,570],{"class":391},[385,756,494],{"class":395},[385,758,505],{"class":391},[328,760,762],{"id":761},"sizes","Sizes",[246,764,765,768,769,772,773,776,777,780],{},[250,766,767],{},"xs"," → ",[250,770,771],{},"xxl",". The size drives both the field height (",[250,774,775],{},"ori-input_*"," size sugar on the wrapper) and\nthe text scale (",[250,778,779],{},"ori-font-size_*",").",[362,782,783,786,790,794,798,802,872],{},[365,784],{"label":767,"placeholder":785,"size":767},"Extra small",[365,787],{"label":788,"placeholder":789,"size":788},"sm","Small",[365,791],{"label":792,"placeholder":793,"size":792},"md","Medium",[365,795],{"label":796,"placeholder":797,"size":796},"lg","Large",[365,799],{"label":800,"placeholder":801,"size":800},"xl","Extra large",[373,803,804],{"v-slot:vue":375},[377,805,807],{"className":379,"code":806,"language":381,"meta":375,"style":375},"\u003COriInput v-model=\"value\" label=\"sm\" size=\"sm\" \u002F>\n\u003COriInput v-model=\"value\" label=\"xl\" size=\"xl\" \u002F>\n",[250,808,809,841],{"__ignoreMap":375},[385,810,811,813,815,817,819,821,823,825,827,829,832,835,837,839],{"class":387,"line":388},[385,812,392],{"class":391},[385,814,396],{"class":395},[385,816,400],{"class":399},[385,818,403],{"class":391},[385,820,407],{"class":406},[385,822,410],{"class":391},[385,824,407],{"class":406},[385,826,415],{"class":399},[385,828,403],{"class":391},[385,830,831],{"class":406},"\"sm\"",[385,833,834],{"class":399}," size",[385,836,403],{"class":391},[385,838,831],{"class":406},[385,840,439],{"class":391},[385,842,843,845,847,849,851,853,855,857,859,861,864,866,868,870],{"class":387,"line":442},[385,844,392],{"class":391},[385,846,396],{"class":395},[385,848,400],{"class":399},[385,850,403],{"class":391},[385,852,407],{"class":406},[385,854,410],{"class":391},[385,856,407],{"class":406},[385,858,415],{"class":399},[385,860,403],{"class":391},[385,862,863],{"class":406},"\"xl\"",[385,865,834],{"class":399},[385,867,403],{"class":391},[385,869,863],{"class":406},[385,871,439],{"class":391},[373,873,874],{"v-slot:html":375},[377,875,877],{"className":483,"code":876,"language":485,"meta":375,"style":375},"\u003C!-- size sugar on the wrapper (ori-input_xl); the field inherits the height via --ori-size-action -->\n\u003Cdiv class=\"ori-input ori-color_primary ori-font-size_xl ori-input_outline ori-input_xl\">\n    \u003Clabel class=\"ori-input__label\" for=\"f3\">xl\u003C\u002Flabel>\n    \u003Cinput id=\"f3\" class=\"ori-input__field ori-size-radius_md\" \u002F>\n\u003C\u002Fdiv>\n\n\u003C!-- a bare ori-input wrapper is already a valid md field — no size class needed for the default -->\n",[250,878,879,884,899,925,945,953,957],{"__ignoreMap":375},[385,880,881],{"class":387,"line":388},[385,882,883],{"class":587},"\u003C!-- size sugar on the wrapper (ori-input_xl); the field inherits the height via --ori-size-action -->\n",[385,885,886,888,890,892,894,897],{"class":387,"line":442},[385,887,392],{"class":391},[385,889,494],{"class":395},[385,891,497],{"class":399},[385,893,403],{"class":391},[385,895,896],{"class":406},"\"ori-input ori-color_primary ori-font-size_xl ori-input_outline ori-input_xl\"",[385,898,505],{"class":391},[385,900,901,903,905,907,909,911,913,915,918,921,923],{"class":387,"line":538},[385,902,510],{"class":391},[385,904,513],{"class":395},[385,906,497],{"class":399},[385,908,403],{"class":391},[385,910,520],{"class":406},[385,912,523],{"class":399},[385,914,403],{"class":391},[385,916,917],{"class":406},"\"f3\"",[385,919,920],{"class":391},">xl\u003C\u002F",[385,922,513],{"class":395},[385,924,505],{"class":391},[385,926,927,929,931,933,935,937,939,941,943],{"class":387,"line":567},[385,928,510],{"class":391},[385,930,244],{"class":395},[385,932,545],{"class":399},[385,934,403],{"class":391},[385,936,917],{"class":406},[385,938,497],{"class":399},[385,940,403],{"class":391},[385,942,562],{"class":406},[385,944,439],{"class":391},[385,946,947,949,951],{"class":387,"line":577},[385,948,570],{"class":391},[385,950,494],{"class":395},[385,952,505],{"class":391},[385,954,955],{"class":387,"line":584},[385,956,581],{"emptyLinePlaceholder":580},[385,958,960],{"class":387,"line":959},7,[385,961,962],{"class":587},"\u003C!-- a bare ori-input wrapper is already a valid md field — no size class needed for the default -->\n",[328,964,966],{"id":965},"radius","Radius",[246,968,969,970,973,974,976,977,980],{},"From ",[250,971,972],{},"zero"," (square) through the default ",[250,975,792],{}," to ",[250,978,979],{},"rounded"," (pill-shaped field).",[362,982,983,986,988,990,992,995,1065],{},[365,984],{"label":972,"placeholder":985,"radius":972},"Square",[365,987],{"label":788,"placeholder":789,"radius":788},[365,989],{"label":792,"placeholder":793,"radius":792},[365,991],{"label":796,"placeholder":797,"radius":796},[365,993],{"label":979,"placeholder":994,"radius":979},"Pill",[373,996,997],{"v-slot:vue":375},[377,998,1000],{"className":379,"code":999,"language":381,"meta":375,"style":375},"\u003COriInput v-model=\"value\" label=\"zero\" radius=\"zero\" \u002F>\n\u003COriInput v-model=\"value\" label=\"rounded\" radius=\"rounded\" \u002F>\n",[250,1001,1002,1034],{"__ignoreMap":375},[385,1003,1004,1006,1008,1010,1012,1014,1016,1018,1020,1022,1025,1028,1030,1032],{"class":387,"line":388},[385,1005,392],{"class":391},[385,1007,396],{"class":395},[385,1009,400],{"class":399},[385,1011,403],{"class":391},[385,1013,407],{"class":406},[385,1015,410],{"class":391},[385,1017,407],{"class":406},[385,1019,415],{"class":399},[385,1021,403],{"class":391},[385,1023,1024],{"class":406},"\"zero\"",[385,1026,1027],{"class":399}," radius",[385,1029,403],{"class":391},[385,1031,1024],{"class":406},[385,1033,439],{"class":391},[385,1035,1036,1038,1040,1042,1044,1046,1048,1050,1052,1054,1057,1059,1061,1063],{"class":387,"line":442},[385,1037,392],{"class":391},[385,1039,396],{"class":395},[385,1041,400],{"class":399},[385,1043,403],{"class":391},[385,1045,407],{"class":406},[385,1047,410],{"class":391},[385,1049,407],{"class":406},[385,1051,415],{"class":399},[385,1053,403],{"class":391},[385,1055,1056],{"class":406},"\"rounded\"",[385,1058,1027],{"class":399},[385,1060,403],{"class":391},[385,1062,1056],{"class":406},[385,1064,439],{"class":391},[373,1066,1067],{"v-slot:html":375},[377,1068,1070],{"className":483,"code":1069,"language":485,"meta":375,"style":375},"\u003Cinput class=\"ori-input__field ori-size-radius_zero\" \u002F>\n",[250,1071,1072],{"__ignoreMap":375},[385,1073,1074,1076,1078,1080,1082,1085],{"class":387,"line":388},[385,1075,392],{"class":391},[385,1077,244],{"class":395},[385,1079,497],{"class":399},[385,1081,403],{"class":391},[385,1083,1084],{"class":406},"\"ori-input__field ori-size-radius_zero\"",[385,1086,439],{"class":391},[328,1088,1090],{"id":1089},"label-hint-required","Label, hint & required",[246,1092,1093,1095,1096,1099,1100,1103,1104,1107],{},[250,1094,513],{}," renders a ",[250,1097,1098],{},"\u003Clabel>"," linked to the field. ",[250,1101,1102],{},"hint"," renders a helper line below. ",[250,1105,1106],{},"required","\nadds the real HTML attribute and a visual asterisk (hidden from assistive tech).",[362,1109,1110,1117,1175],{},[365,1111],{"label":1112,"placeholder":1113,"type":1114,":required":1115,"hint":1116},"Email","you@example.com","email","true","We never share it.",[373,1118,1119],{"v-slot:vue":375},[377,1120,1122],{"className":379,"code":1121,"language":381,"meta":375,"style":375},"\u003COriInput v-model=\"email\" type=\"email\" label=\"Email\" placeholder=\"you@example.com\" hint=\"We never share it.\" required \u002F>\n",[250,1123,1124],{"__ignoreMap":375},[385,1125,1126,1128,1130,1132,1134,1136,1138,1140,1143,1145,1148,1150,1152,1155,1157,1159,1162,1165,1167,1170,1173],{"class":387,"line":388},[385,1127,392],{"class":391},[385,1129,396],{"class":395},[385,1131,400],{"class":399},[385,1133,403],{"class":391},[385,1135,407],{"class":406},[385,1137,1114],{"class":391},[385,1139,407],{"class":406},[385,1141,1142],{"class":399}," type",[385,1144,403],{"class":391},[385,1146,1147],{"class":406},"\"email\"",[385,1149,415],{"class":399},[385,1151,403],{"class":391},[385,1153,1154],{"class":406},"\"Email\"",[385,1156,423],{"class":399},[385,1158,403],{"class":391},[385,1160,1161],{"class":406},"\"you@example.com\"",[385,1163,1164],{"class":399}," hint",[385,1166,403],{"class":391},[385,1168,1169],{"class":406},"\"We never share it.\"",[385,1171,1172],{"class":399}," required",[385,1174,439],{"class":391},[373,1176,1177],{"v-slot:html":375},[377,1178,1180],{"className":483,"code":1179,"language":485,"meta":375,"style":375},"\u003Cdiv class=\"ori-input ori-color_primary ori-font-size_md ori-input_outline\">\n    \u003Clabel class=\"ori-input__label\" for=\"email\">\n        Email\u003Cspan class=\"ori-input__required\" aria-hidden=\"true\">*\u003C\u002Fspan>\n    \u003C\u002Flabel>\n    \u003Cinput\n        id=\"email\"\n        type=\"email\"\n        required\n        placeholder=\"you@example.com\"\n        aria-describedby=\"email-hint\"\n        class=\"ori-input__field ori-size-radius_md\"\n    \u002F>\n    \u003Cp id=\"email-hint\" class=\"ori-input__hint\">We never share it.\u003C\u002Fp>\n\u003C\u002Fdiv>\n",[250,1181,1182,1196,1216,1245,1254,1261,1271,1280,1286,1297,1308,1319,1325,1353],{"__ignoreMap":375},[385,1183,1184,1186,1188,1190,1192,1194],{"class":387,"line":388},[385,1185,392],{"class":391},[385,1187,494],{"class":395},[385,1189,497],{"class":399},[385,1191,403],{"class":391},[385,1193,502],{"class":406},[385,1195,505],{"class":391},[385,1197,1198,1200,1202,1204,1206,1208,1210,1212,1214],{"class":387,"line":442},[385,1199,510],{"class":391},[385,1201,513],{"class":395},[385,1203,497],{"class":399},[385,1205,403],{"class":391},[385,1207,520],{"class":406},[385,1209,523],{"class":399},[385,1211,403],{"class":391},[385,1213,1147],{"class":406},[385,1215,505],{"class":391},[385,1217,1218,1221,1223,1225,1227,1230,1233,1235,1238,1241,1243],{"class":387,"line":538},[385,1219,1220],{"class":391},"        Email\u003C",[385,1222,385],{"class":395},[385,1224,497],{"class":399},[385,1226,403],{"class":391},[385,1228,1229],{"class":406},"\"ori-input__required\"",[385,1231,1232],{"class":399}," aria-hidden",[385,1234,403],{"class":391},[385,1236,1237],{"class":406},"\"true\"",[385,1239,1240],{"class":391},">*\u003C\u002F",[385,1242,385],{"class":395},[385,1244,505],{"class":391},[385,1246,1247,1250,1252],{"class":387,"line":567},[385,1248,1249],{"class":391},"    \u003C\u002F",[385,1251,513],{"class":395},[385,1253,505],{"class":391},[385,1255,1256,1258],{"class":387,"line":577},[385,1257,510],{"class":391},[385,1259,1260],{"class":395},"input\n",[385,1262,1263,1266,1268],{"class":387,"line":584},[385,1264,1265],{"class":399},"        id",[385,1267,403],{"class":391},[385,1269,1270],{"class":406},"\"email\"\n",[385,1272,1273,1276,1278],{"class":387,"line":959},[385,1274,1275],{"class":399},"        type",[385,1277,403],{"class":391},[385,1279,1270],{"class":406},[385,1281,1283],{"class":387,"line":1282},8,[385,1284,1285],{"class":399},"        required\n",[385,1287,1289,1292,1294],{"class":387,"line":1288},9,[385,1290,1291],{"class":399},"        placeholder",[385,1293,403],{"class":391},[385,1295,1296],{"class":406},"\"you@example.com\"\n",[385,1298,1300,1303,1305],{"class":387,"line":1299},10,[385,1301,1302],{"class":399},"        aria-describedby",[385,1304,403],{"class":391},[385,1306,1307],{"class":406},"\"email-hint\"\n",[385,1309,1311,1314,1316],{"class":387,"line":1310},11,[385,1312,1313],{"class":399},"        class",[385,1315,403],{"class":391},[385,1317,1318],{"class":406},"\"ori-input__field ori-size-radius_md\"\n",[385,1320,1322],{"class":387,"line":1321},12,[385,1323,1324],{"class":391},"    \u002F>\n",[385,1326,1328,1330,1332,1334,1336,1339,1341,1343,1346,1349,1351],{"class":387,"line":1327},13,[385,1329,510],{"class":391},[385,1331,246],{"class":395},[385,1333,545],{"class":399},[385,1335,403],{"class":391},[385,1337,1338],{"class":406},"\"email-hint\"",[385,1340,497],{"class":399},[385,1342,403],{"class":391},[385,1344,1345],{"class":406},"\"ori-input__hint\"",[385,1347,1348],{"class":391},">We never share it.\u003C\u002F",[385,1350,246],{"class":395},[385,1352,505],{"class":391},[385,1354,1356,1358,1360],{"class":387,"line":1355},14,[385,1357,570],{"class":391},[385,1359,494],{"class":395},[385,1361,505],{"class":391},[328,1363,1365],{"id":1364},"states","States",[246,1367,1368,1370,1371,1095,1374,1377,1378,1380,1381,1384,1385,1387],{},[250,1369,256],{}," uses the real attribute. ",[250,1372,1373],{},"error",[250,1375,1376],{},"role=\"alert\""," message and sets\n",[250,1379,260],{},". ",[250,1382,1383],{},"invalid"," flips ",[250,1386,260],{}," without a message (for external validation).",[362,1389,1390,1394,1398,1402,1498],{},[365,1391],{"label":1392,"placeholder":1393,":disabled":1115},"Disabled","Cannot edit",[365,1395],{"label":1396,"placeholder":1397,":invalid":1115},"Invalid (no message)","Flagged externally",[365,1399],{"label":1400,"placeholder":1113,"type":1114,"error":1401},"With error","Enter a valid email address.",[373,1403,1404],{"v-slot:vue":375},[377,1405,1407],{"className":379,"code":1406,"language":381,"meta":375,"style":375},"\u003COriInput v-model=\"value\" label=\"Disabled\" disabled \u002F>\n\u003COriInput v-model=\"value\" label=\"Invalid (no message)\" invalid \u002F>\n\u003COriInput v-model=\"email\" label=\"With error\" error=\"Enter a valid email address.\" \u002F>\n",[250,1408,1409,1437,1465],{"__ignoreMap":375},[385,1410,1411,1413,1415,1417,1419,1421,1423,1425,1427,1429,1432,1435],{"class":387,"line":388},[385,1412,392],{"class":391},[385,1414,396],{"class":395},[385,1416,400],{"class":399},[385,1418,403],{"class":391},[385,1420,407],{"class":406},[385,1422,410],{"class":391},[385,1424,407],{"class":406},[385,1426,415],{"class":399},[385,1428,403],{"class":391},[385,1430,1431],{"class":406},"\"Disabled\"",[385,1433,1434],{"class":399}," disabled",[385,1436,439],{"class":391},[385,1438,1439,1441,1443,1445,1447,1449,1451,1453,1455,1457,1460,1463],{"class":387,"line":442},[385,1440,392],{"class":391},[385,1442,396],{"class":395},[385,1444,400],{"class":399},[385,1446,403],{"class":391},[385,1448,407],{"class":406},[385,1450,410],{"class":391},[385,1452,407],{"class":406},[385,1454,415],{"class":399},[385,1456,403],{"class":391},[385,1458,1459],{"class":406},"\"Invalid (no message)\"",[385,1461,1462],{"class":399}," invalid",[385,1464,439],{"class":391},[385,1466,1467,1469,1471,1473,1475,1477,1479,1481,1483,1485,1488,1491,1493,1496],{"class":387,"line":538},[385,1468,392],{"class":391},[385,1470,396],{"class":395},[385,1472,400],{"class":399},[385,1474,403],{"class":391},[385,1476,407],{"class":406},[385,1478,1114],{"class":391},[385,1480,407],{"class":406},[385,1482,415],{"class":399},[385,1484,403],{"class":391},[385,1486,1487],{"class":406},"\"With error\"",[385,1489,1490],{"class":399}," error",[385,1492,403],{"class":391},[385,1494,1495],{"class":406},"\"Enter a valid email address.\"",[385,1497,439],{"class":391},[373,1499,1500],{"v-slot:html":375},[377,1501,1503],{"className":483,"code":1502,"language":485,"meta":375,"style":375},"\u003C!-- disabled -->\n\u003Cinput class=\"ori-input__field …\" disabled \u002F>\n\n\u003C!-- invalid without message -->\n\u003Cinput class=\"ori-input__field …\" aria-invalid=\"true\" \u002F>\n\n\u003C!-- error: message gets role=alert and is referenced by aria-describedby -->\n\u003Cinput class=\"ori-input__field …\" aria-invalid=\"true\" aria-describedby=\"email-error\" \u002F>\n\u003Cp id=\"email-error\" class=\"ori-input__error\" role=\"alert\">Enter a valid email address.\u003C\u002Fp>\n",[250,1504,1505,1510,1527,1531,1536,1557,1561,1566,1594],{"__ignoreMap":375},[385,1506,1507],{"class":387,"line":388},[385,1508,1509],{"class":587},"\u003C!-- disabled -->\n",[385,1511,1512,1514,1516,1518,1520,1523,1525],{"class":387,"line":442},[385,1513,392],{"class":391},[385,1515,244],{"class":395},[385,1517,497],{"class":399},[385,1519,403],{"class":391},[385,1521,1522],{"class":406},"\"ori-input__field …\"",[385,1524,1434],{"class":399},[385,1526,439],{"class":391},[385,1528,1529],{"class":387,"line":538},[385,1530,581],{"emptyLinePlaceholder":580},[385,1532,1533],{"class":387,"line":567},[385,1534,1535],{"class":587},"\u003C!-- invalid without message -->\n",[385,1537,1538,1540,1542,1544,1546,1548,1551,1553,1555],{"class":387,"line":577},[385,1539,392],{"class":391},[385,1541,244],{"class":395},[385,1543,497],{"class":399},[385,1545,403],{"class":391},[385,1547,1522],{"class":406},[385,1549,1550],{"class":399}," aria-invalid",[385,1552,403],{"class":391},[385,1554,1237],{"class":406},[385,1556,439],{"class":391},[385,1558,1559],{"class":387,"line":584},[385,1560,581],{"emptyLinePlaceholder":580},[385,1562,1563],{"class":387,"line":959},[385,1564,1565],{"class":587},"\u003C!-- error: message gets role=alert and is referenced by aria-describedby -->\n",[385,1567,1568,1570,1572,1574,1576,1578,1580,1582,1584,1587,1589,1592],{"class":387,"line":1282},[385,1569,392],{"class":391},[385,1571,244],{"class":395},[385,1573,497],{"class":399},[385,1575,403],{"class":391},[385,1577,1522],{"class":406},[385,1579,1550],{"class":399},[385,1581,403],{"class":391},[385,1583,1237],{"class":406},[385,1585,1586],{"class":399}," aria-describedby",[385,1588,403],{"class":391},[385,1590,1591],{"class":406},"\"email-error\"",[385,1593,439],{"class":391},[385,1595,1596,1598,1600,1602,1604,1606,1608,1610,1613,1616,1618,1621,1624,1626],{"class":387,"line":1288},[385,1597,392],{"class":391},[385,1599,246],{"class":395},[385,1601,545],{"class":399},[385,1603,403],{"class":391},[385,1605,1591],{"class":406},[385,1607,497],{"class":399},[385,1609,403],{"class":391},[385,1611,1612],{"class":406},"\"ori-input__error\"",[385,1614,1615],{"class":399}," role",[385,1617,403],{"class":391},[385,1619,1620],{"class":406},"\"alert\"",[385,1622,1623],{"class":391},">Enter a valid email address.\u003C\u002F",[385,1625,246],{"class":395},[385,1627,505],{"class":391},[328,1629,1631],{"id":1630},"fluid","Fluid",[246,1633,1634,1636],{},[250,1635,1630],{}," stretches the wrapper to the full width of its container.",[362,1638,1639,1643,1678],{},[365,1640],{"label":1641,"placeholder":1642,":fluid":1115},"Full width","Stretches to container",[373,1644,1645],{"v-slot:vue":375},[377,1646,1648],{"className":379,"code":1647,"language":381,"meta":375,"style":375},"\u003COriInput v-model=\"value\" label=\"Full width\" fluid \u002F>\n",[250,1649,1650],{"__ignoreMap":375},[385,1651,1652,1654,1656,1658,1660,1662,1664,1666,1668,1670,1673,1676],{"class":387,"line":388},[385,1653,392],{"class":391},[385,1655,396],{"class":395},[385,1657,400],{"class":399},[385,1659,403],{"class":391},[385,1661,407],{"class":406},[385,1663,410],{"class":391},[385,1665,407],{"class":406},[385,1667,415],{"class":399},[385,1669,403],{"class":391},[385,1671,1672],{"class":406},"\"Full width\"",[385,1674,1675],{"class":399}," fluid",[385,1677,439],{"class":391},[373,1679,1680],{"v-slot:html":375},[377,1681,1683],{"className":483,"code":1682,"language":485,"meta":375,"style":375},"\u003Cdiv class=\"ori-input ori-input_fluid …\">…\u003C\u002Fdiv>\n",[250,1684,1685],{"__ignoreMap":375},[385,1686,1687,1689,1691,1693,1695,1698,1701,1703],{"class":387,"line":388},[385,1688,392],{"class":391},[385,1690,494],{"class":395},[385,1692,497],{"class":399},[385,1694,403],{"class":391},[385,1696,1697],{"class":406},"\"ori-input ori-input_fluid …\"",[385,1699,1700],{"class":391},">…\u003C\u002F",[385,1702,494],{"class":395},[385,1704,505],{"class":391},[328,1706,1708],{"id":1707},"input-types","Input types",[246,1710,1711,1714,1715,1718,1719,257,1721,257,1724,257,1727,284,1730,257,1733,1736],{},[250,1712,1713],{},"type"," maps directly to the native ",[250,1716,1717],{},"\u003Cinput type=\"\">"," — use ",[250,1720,1114],{},[250,1722,1723],{},"password",[250,1725,1726],{},"search",[250,1728,1729],{},"tel",[250,1731,1732],{},"url",[250,1734,1735],{},"number",", etc.",[362,1738,1739,1743,1747,1751,1837],{},[365,1740],{"label":1741,"placeholder":1742,"type":1723},"Password","Enter password",[365,1744],{"label":1745,"placeholder":1746,"type":1726},"Search","Search…",[365,1748],{"label":1749,"placeholder":1750,"type":1735},"Number","0",[373,1752,1753],{"v-slot:vue":375},[377,1754,1756],{"className":379,"code":1755,"language":381,"meta":375,"style":375},"\u003COriInput v-model=\"password\" type=\"password\" label=\"Password\" placeholder=\"Enter password\" \u002F>\n\u003COriInput v-model=\"query\" type=\"search\" label=\"Search\" placeholder=\"Search…\" \u002F>\n",[250,1757,1758,1797],{"__ignoreMap":375},[385,1759,1760,1762,1764,1766,1768,1770,1772,1774,1776,1778,1781,1783,1785,1788,1790,1792,1795],{"class":387,"line":388},[385,1761,392],{"class":391},[385,1763,396],{"class":395},[385,1765,400],{"class":399},[385,1767,403],{"class":391},[385,1769,407],{"class":406},[385,1771,1723],{"class":391},[385,1773,407],{"class":406},[385,1775,1142],{"class":399},[385,1777,403],{"class":391},[385,1779,1780],{"class":406},"\"password\"",[385,1782,415],{"class":399},[385,1784,403],{"class":391},[385,1786,1787],{"class":406},"\"Password\"",[385,1789,423],{"class":399},[385,1791,403],{"class":391},[385,1793,1794],{"class":406},"\"Enter password\"",[385,1796,439],{"class":391},[385,1798,1799,1801,1803,1805,1807,1809,1812,1814,1816,1818,1821,1823,1825,1828,1830,1832,1835],{"class":387,"line":442},[385,1800,392],{"class":391},[385,1802,396],{"class":395},[385,1804,400],{"class":399},[385,1806,403],{"class":391},[385,1808,407],{"class":406},[385,1810,1811],{"class":391},"query",[385,1813,407],{"class":406},[385,1815,1142],{"class":399},[385,1817,403],{"class":391},[385,1819,1820],{"class":406},"\"search\"",[385,1822,415],{"class":399},[385,1824,403],{"class":391},[385,1826,1827],{"class":406},"\"Search\"",[385,1829,423],{"class":399},[385,1831,403],{"class":391},[385,1833,1834],{"class":406},"\"Search…\"",[385,1836,439],{"class":391},[373,1838,1839],{"v-slot:html":375},[377,1840,1842],{"className":483,"code":1841,"language":485,"meta":375,"style":375},"\u003Cinput type=\"password\" class=\"ori-input__field …\" \u002F> \u003Cinput type=\"search\" class=\"ori-input__field …\" \u002F>\n",[250,1843,1844],{"__ignoreMap":375},[385,1845,1846,1848,1850,1852,1854,1856,1858,1860,1862,1865,1867,1869,1871,1873,1875,1877,1879],{"class":387,"line":388},[385,1847,392],{"class":391},[385,1849,244],{"class":395},[385,1851,1142],{"class":399},[385,1853,403],{"class":391},[385,1855,1780],{"class":406},[385,1857,497],{"class":399},[385,1859,403],{"class":391},[385,1861,1522],{"class":406},[385,1863,1864],{"class":391}," \u002F> \u003C",[385,1866,244],{"class":395},[385,1868,1142],{"class":399},[385,1870,403],{"class":391},[385,1872,1820],{"class":406},[385,1874,497],{"class":399},[385,1876,403],{"class":391},[385,1878,1522],{"class":406},[385,1880,439],{"class":391},[328,1882,1884],{"id":1883},"common-patterns","Common patterns",[246,1886,1887],{},"A real-world sign-in form — label, type, hint, required, and error compose freely.",[362,1889,1890,1892,1896,2019],{},[365,1891],{"label":1112,"placeholder":1113,"type":1114,":required":1115},[365,1893],{"label":1741,"placeholder":1894,"type":1723,":required":1115,"hint":1895},"Min 8 characters","Use a mix of letters, numbers and symbols.",[373,1897,1898],{"v-slot:vue":375},[377,1899,1901],{"className":379,"code":1900,"language":381,"meta":375,"style":375},"\u003Cform style=\"display: flex; flex-direction: column; gap: 1rem; max-width: 24rem\">\n    \u003COriInput v-model=\"email\" type=\"email\" label=\"Email\" placeholder=\"you@example.com\" required \u002F>\n    \u003COriInput\n        v-model=\"password\"\n        type=\"password\"\n        label=\"Password\"\n        placeholder=\"Min 8 characters\"\n        hint=\"Use a mix of letters, numbers and symbols.\"\n        required\n    \u002F>\n\u003C\u002Fform>\n",[250,1902,1903,1968,1973,1978,1983,1988,1993,1998,2003,2007,2011],{"__ignoreMap":375},[385,1904,1905,1907,1910,1913,1915,1917,1921,1924,1927,1930,1933,1935,1938,1940,1943,1945,1948,1952,1954,1957,1959,1962,1964,1966],{"class":387,"line":388},[385,1906,392],{"class":391},[385,1908,1909],{"class":395},"form",[385,1911,1912],{"class":399}," style",[385,1914,403],{"class":391},[385,1916,407],{"class":406},[385,1918,1920],{"class":1919},"sj4cs","display",[385,1922,1923],{"class":391},": ",[385,1925,1926],{"class":1919},"flex",[385,1928,1929],{"class":391},"; ",[385,1931,1932],{"class":1919},"flex-direction",[385,1934,1923],{"class":391},[385,1936,1937],{"class":1919},"column",[385,1939,1929],{"class":391},[385,1941,1942],{"class":1919},"gap",[385,1944,1923],{"class":391},[385,1946,1947],{"class":1919},"1",[385,1949,1951],{"class":1950},"szBVR","rem",[385,1953,1929],{"class":391},[385,1955,1956],{"class":1919},"max-width",[385,1958,1923],{"class":391},[385,1960,1961],{"class":1919},"24",[385,1963,1951],{"class":1950},[385,1965,407],{"class":406},[385,1967,505],{"class":391},[385,1969,1970],{"class":387,"line":442},[385,1971,1972],{"class":391},"    \u003COriInput v-model=\"email\" type=\"email\" label=\"Email\" placeholder=\"you@example.com\" required \u002F>\n",[385,1974,1975],{"class":387,"line":538},[385,1976,1977],{"class":391},"    \u003COriInput\n",[385,1979,1980],{"class":387,"line":567},[385,1981,1982],{"class":391},"        v-model=\"password\"\n",[385,1984,1985],{"class":387,"line":577},[385,1986,1987],{"class":391},"        type=\"password\"\n",[385,1989,1990],{"class":387,"line":584},[385,1991,1992],{"class":391},"        label=\"Password\"\n",[385,1994,1995],{"class":387,"line":959},[385,1996,1997],{"class":391},"        placeholder=\"Min 8 characters\"\n",[385,1999,2000],{"class":387,"line":1282},[385,2001,2002],{"class":391},"        hint=\"Use a mix of letters, numbers and symbols.\"\n",[385,2004,2005],{"class":387,"line":1288},[385,2006,1285],{"class":391},[385,2008,2009],{"class":387,"line":1299},[385,2010,1324],{"class":391},[385,2012,2013,2015,2017],{"class":387,"line":1310},[385,2014,570],{"class":391},[385,2016,1909],{"class":395},[385,2018,505],{"class":391},[373,2020,2021],{"v-slot:html":375},[377,2022,2024],{"className":483,"code":2023,"language":485,"meta":375,"style":375},"\u003Cform style=\"display: flex; flex-direction: column; gap: 1rem; max-width: 24rem\">\n    \u003Cdiv class=\"ori-input ori-color_primary ori-font-size_md ori-input_outline\">\n        \u003Clabel class=\"ori-input__label\" for=\"si-email\">\n            Email\u003Cspan class=\"ori-input__required\" aria-hidden=\"true\">*\u003C\u002Fspan>\n        \u003C\u002Flabel>\n        \u003Cinput\n            id=\"si-email\"\n            type=\"email\"\n            required\n            placeholder=\"you@example.com\"\n            class=\"ori-input__field ori-size-radius_md\"\n        \u002F>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"ori-input ori-color_primary ori-font-size_md ori-input_outline\">\n        \u003Clabel class=\"ori-input__label\" for=\"si-pw\">\n            Password\u003Cspan class=\"ori-input__required\" aria-hidden=\"true\">*\u003C\u002Fspan>\n        \u003C\u002Flabel>\n        \u003Cinput\n            id=\"si-pw\"\n            type=\"password\"\n            required\n            placeholder=\"Min 8 characters\"\n            aria-describedby=\"si-pw-hint\"\n            class=\"ori-input__field ori-size-radius_md\"\n        \u002F>\n        \u003Cp id=\"si-pw-hint\" class=\"ori-input__hint\">Use a mix of letters, numbers and symbols.\u003C\u002Fp>\n    \u003C\u002Fdiv>\n\u003C\u002Fform>\n",[250,2025,2026,2041,2055,2077,2102,2111,2117,2127,2136,2141,2150,2159,2164,2172,2186,2208,2234,2243,2250,2260,2270,2275,2285,2296,2305,2310,2337,2346],{"__ignoreMap":375},[385,2027,2028,2030,2032,2034,2036,2039],{"class":387,"line":388},[385,2029,392],{"class":391},[385,2031,1909],{"class":395},[385,2033,1912],{"class":399},[385,2035,403],{"class":391},[385,2037,2038],{"class":406},"\"display: flex; flex-direction: column; gap: 1rem; max-width: 24rem\"",[385,2040,505],{"class":391},[385,2042,2043,2045,2047,2049,2051,2053],{"class":387,"line":442},[385,2044,510],{"class":391},[385,2046,494],{"class":395},[385,2048,497],{"class":399},[385,2050,403],{"class":391},[385,2052,502],{"class":406},[385,2054,505],{"class":391},[385,2056,2057,2060,2062,2064,2066,2068,2070,2072,2075],{"class":387,"line":538},[385,2058,2059],{"class":391},"        \u003C",[385,2061,513],{"class":395},[385,2063,497],{"class":399},[385,2065,403],{"class":391},[385,2067,520],{"class":406},[385,2069,523],{"class":399},[385,2071,403],{"class":391},[385,2073,2074],{"class":406},"\"si-email\"",[385,2076,505],{"class":391},[385,2078,2079,2082,2084,2086,2088,2090,2092,2094,2096,2098,2100],{"class":387,"line":567},[385,2080,2081],{"class":391},"            Email\u003C",[385,2083,385],{"class":395},[385,2085,497],{"class":399},[385,2087,403],{"class":391},[385,2089,1229],{"class":406},[385,2091,1232],{"class":399},[385,2093,403],{"class":391},[385,2095,1237],{"class":406},[385,2097,1240],{"class":391},[385,2099,385],{"class":395},[385,2101,505],{"class":391},[385,2103,2104,2107,2109],{"class":387,"line":577},[385,2105,2106],{"class":391},"        \u003C\u002F",[385,2108,513],{"class":395},[385,2110,505],{"class":391},[385,2112,2113,2115],{"class":387,"line":584},[385,2114,2059],{"class":391},[385,2116,1260],{"class":395},[385,2118,2119,2122,2124],{"class":387,"line":959},[385,2120,2121],{"class":399},"            id",[385,2123,403],{"class":391},[385,2125,2126],{"class":406},"\"si-email\"\n",[385,2128,2129,2132,2134],{"class":387,"line":1282},[385,2130,2131],{"class":399},"            type",[385,2133,403],{"class":391},[385,2135,1270],{"class":406},[385,2137,2138],{"class":387,"line":1288},[385,2139,2140],{"class":399},"            required\n",[385,2142,2143,2146,2148],{"class":387,"line":1299},[385,2144,2145],{"class":399},"            placeholder",[385,2147,403],{"class":391},[385,2149,1296],{"class":406},[385,2151,2152,2155,2157],{"class":387,"line":1310},[385,2153,2154],{"class":399},"            class",[385,2156,403],{"class":391},[385,2158,1318],{"class":406},[385,2160,2161],{"class":387,"line":1321},[385,2162,2163],{"class":391},"        \u002F>\n",[385,2165,2166,2168,2170],{"class":387,"line":1327},[385,2167,1249],{"class":391},[385,2169,494],{"class":395},[385,2171,505],{"class":391},[385,2173,2174,2176,2178,2180,2182,2184],{"class":387,"line":1355},[385,2175,510],{"class":391},[385,2177,494],{"class":395},[385,2179,497],{"class":399},[385,2181,403],{"class":391},[385,2183,502],{"class":406},[385,2185,505],{"class":391},[385,2187,2189,2191,2193,2195,2197,2199,2201,2203,2206],{"class":387,"line":2188},15,[385,2190,2059],{"class":391},[385,2192,513],{"class":395},[385,2194,497],{"class":399},[385,2196,403],{"class":391},[385,2198,520],{"class":406},[385,2200,523],{"class":399},[385,2202,403],{"class":391},[385,2204,2205],{"class":406},"\"si-pw\"",[385,2207,505],{"class":391},[385,2209,2211,2214,2216,2218,2220,2222,2224,2226,2228,2230,2232],{"class":387,"line":2210},16,[385,2212,2213],{"class":391},"            Password\u003C",[385,2215,385],{"class":395},[385,2217,497],{"class":399},[385,2219,403],{"class":391},[385,2221,1229],{"class":406},[385,2223,1232],{"class":399},[385,2225,403],{"class":391},[385,2227,1237],{"class":406},[385,2229,1240],{"class":391},[385,2231,385],{"class":395},[385,2233,505],{"class":391},[385,2235,2237,2239,2241],{"class":387,"line":2236},17,[385,2238,2106],{"class":391},[385,2240,513],{"class":395},[385,2242,505],{"class":391},[385,2244,2246,2248],{"class":387,"line":2245},18,[385,2247,2059],{"class":391},[385,2249,1260],{"class":395},[385,2251,2253,2255,2257],{"class":387,"line":2252},19,[385,2254,2121],{"class":399},[385,2256,403],{"class":391},[385,2258,2259],{"class":406},"\"si-pw\"\n",[385,2261,2263,2265,2267],{"class":387,"line":2262},20,[385,2264,2131],{"class":399},[385,2266,403],{"class":391},[385,2268,2269],{"class":406},"\"password\"\n",[385,2271,2273],{"class":387,"line":2272},21,[385,2274,2140],{"class":399},[385,2276,2278,2280,2282],{"class":387,"line":2277},22,[385,2279,2145],{"class":399},[385,2281,403],{"class":391},[385,2283,2284],{"class":406},"\"Min 8 characters\"\n",[385,2286,2288,2291,2293],{"class":387,"line":2287},23,[385,2289,2290],{"class":399},"            aria-describedby",[385,2292,403],{"class":391},[385,2294,2295],{"class":406},"\"si-pw-hint\"\n",[385,2297,2299,2301,2303],{"class":387,"line":2298},24,[385,2300,2154],{"class":399},[385,2302,403],{"class":391},[385,2304,1318],{"class":406},[385,2306,2308],{"class":387,"line":2307},25,[385,2309,2163],{"class":391},[385,2311,2313,2315,2317,2319,2321,2324,2326,2328,2330,2333,2335],{"class":387,"line":2312},26,[385,2314,2059],{"class":391},[385,2316,246],{"class":395},[385,2318,545],{"class":399},[385,2320,403],{"class":391},[385,2322,2323],{"class":406},"\"si-pw-hint\"",[385,2325,497],{"class":399},[385,2327,403],{"class":391},[385,2329,1345],{"class":406},[385,2331,2332],{"class":391},">Use a mix of letters, numbers and symbols.\u003C\u002F",[385,2334,246],{"class":395},[385,2336,505],{"class":391},[385,2338,2340,2342,2344],{"class":387,"line":2339},27,[385,2341,1249],{"class":391},[385,2343,494],{"class":395},[385,2345,505],{"class":391},[385,2347,2349,2351,2353],{"class":387,"line":2348},28,[385,2350,570],{"class":391},[385,2352,1909],{"class":395},[385,2354,505],{"class":391},[328,2356,210],{"id":2357},"accessibility",[246,2359,2360],{},"The accessibility contract holds across every layer — the standalone classes and the Vue component\nrender the same attributes and ARIA wiring.",[2362,2363,2364,2381,2402,2419,2431],"ul",{},[2365,2366,2367,2369,2370,269,2372,2374,2375,2377,2378,2380],"li",{},[250,2368,513],{}," is associated with the field via ",[250,2371,268],{},[250,2373,272],{},"; the id is auto-generated (",[250,2376,276],{},") when you\ndon't pass one, so the association holds even without an explicit ",[250,2379,272],{}," prop.",[2365,2382,2383,2385,2386,2388,2389,2391,2392,2394,2395,2397,2398,2401],{},[250,2384,1102],{}," and ",[250,2387,1373],{}," are wired through ",[250,2390,264],{},", referencing only the element that is\nactually rendered (",[250,2393,1373],{}," supersedes ",[250,2396,1102],{},"). Pass extra ids with ",[250,2399,2400],{},"describedby"," to reference\nadditional descriptions (e.g. a shared form note).",[2365,2403,2404,2406,2407,2410,2411,1929,2413,2415,2416,2418],{},[250,2405,1373],{}," sets ",[250,2408,2409],{},"aria-invalid=\"true\""," and announces via ",[250,2412,1376],{},[250,2414,1383],{}," flips\n",[250,2417,260],{}," on its own for external validation flows.",[2365,2420,2421,2422,2424,2425,2427,2428,2430],{},"Uses the real ",[250,2423,256],{}," attribute and native ",[250,2426,1106],{},"; the focus ring is always visible and\nswitches to the ",[250,2429,612],{}," color when invalid.",[2365,2432,2433,2434,257,2436,257,2438,257,2440,2443,2444,2446],{},"All native attributes (",[250,2435,280],{},[250,2437,283],{},[250,2439,287],{},[250,2441,2442],{},"maxlength",", …) fall through to the\nunderlying ",[250,2445,291],{}," — OriInput stays out of the way.",[2448,2449,2450,2463],"table",{},[2451,2452,2453],"thead",{},[2454,2455,2456,2460],"tr",{},[2457,2458,2459],"th",{},"Key",[2457,2461,2462],{},"Action",[2464,2465,2466],"tbody",{},[2454,2467,2468,2474],{},[2469,2470,2471],"td",{},[250,2472,2473],{},"Tab",[2469,2475,2476],{},"Moves focus to \u002F away from the field.",[328,2478,319],{"id":2479},"framework-api",[246,2481,2482,2483,2485,2486,2489],{},"The props, events, and slots of the ",[297,2484,313],{}," component. The standalone CSS layer has no component\nAPI — its surface is the ",[316,2487,330],{"href":2488},"#classes"," above. (Svelte bindings are planned.)",[2491,2492,2494],"h3",{"id":2493},"props","Props",[2448,2496,2497,2513],{},[2451,2498,2499],{},[2454,2500,2501,2504,2507,2510],{},[2457,2502,2503],{},"Prop",[2457,2505,2506],{},"Type",[2457,2508,2509],{},"Default",[2457,2511,2512],{},"Description",[2464,2514,2515,2535,2555,2577,2597,2614,2632,2653,2673,2695,2711,2733,2756,2780,2814],{},[2454,2516,2517,2522,2527,2532],{},[2469,2518,2519],{},[250,2520,2521],{},"color",[2469,2523,2524],{},[250,2525,2526],{},"ThemeColor",[2469,2528,2529],{},[250,2530,2531],{},"'primary'",[2469,2533,2534],{},"Accent color for focus ring: primary · secondary · success · warn · danger · info · surface · background.",[2454,2536,2537,2541,2546,2549],{},[2469,2538,2539],{},[250,2540,2400],{},[2469,2542,2543],{},[250,2544,2545],{},"string",[2469,2547,2548],{},"—",[2469,2550,2551,2552,2554],{},"Extra element id(s) appended to ",[250,2553,264],{}," (e.g. a shared form note).",[2454,2556,2557,2561,2566,2571],{},[2469,2558,2559],{},[250,2560,256],{},[2469,2562,2563],{},[250,2564,2565],{},"boolean",[2469,2567,2568],{},[250,2569,2570],{},"false",[2469,2572,2573,2574,2576],{},"Real ",[250,2575,256],{}," attribute; blocks interaction and dims the field.",[2454,2578,2579,2583,2587,2589],{},[2469,2580,2581],{},[250,2582,1373],{},[2469,2584,2585],{},[250,2586,2545],{},[2469,2588,2548],{},[2469,2590,2591,2592,2594,2595,292],{},"Error message rendered below the field (",[250,2593,1376],{},"); also sets ",[250,2596,2409],{},[2454,2598,2599,2603,2607,2611],{},[2469,2600,2601],{},[250,2602,1630],{},[2469,2604,2605],{},[250,2606,2565],{},[2469,2608,2609],{},[250,2610,2570],{},[2469,2612,2613],{},"Full-width — stretches wrapper to 100 % of its container.",[2454,2615,2616,2620,2624,2626],{},[2469,2617,2618],{},[250,2619,1102],{},[2469,2621,2622],{},[250,2623,2545],{},[2469,2625,2548],{},[2469,2627,2628,2629,2631],{},"Helper text below the field; hidden while ",[250,2630,1373],{}," is shown.",[2454,2633,2634,2638,2642,2644],{},[2469,2635,2636],{},[250,2637,272],{},[2469,2639,2640],{},[250,2641,2545],{},[2469,2643,2548],{},[2469,2645,2646,2647,2649,2650,2652],{},"Explicit id for the ",[250,2648,291],{},"; auto-generated via ",[250,2651,276],{}," when omitted.",[2454,2654,2655,2659,2663,2667],{},[2469,2656,2657],{},[250,2658,1383],{},[2469,2660,2661],{},[250,2662,2565],{},[2469,2664,2665],{},[250,2666,2570],{},[2469,2668,2669,2670,2672],{},"Sets ",[250,2671,2409],{}," without rendering an error message (for external validation).",[2454,2674,2675,2679,2683,2685],{},[2469,2676,2677],{},[250,2678,513],{},[2469,2680,2681],{},[250,2682,2545],{},[2469,2684,2548],{},[2469,2686,2687,2688,2690,2691,269,2693,292],{},"Visible ",[250,2689,1098],{}," text, wired to the field via ",[250,2692,268],{},[250,2694,272],{},[2454,2696,2697,2702,2706,2708],{},[2469,2698,2699],{},[250,2700,2701],{},"placeholder",[2469,2703,2704],{},[250,2705,2545],{},[2469,2707,2548],{},[2469,2709,2710],{},"Native placeholder text.",[2454,2712,2713,2717,2722,2727],{},[2469,2714,2715],{},[250,2716,965],{},[2469,2718,2719],{},[250,2720,2721],{},"RadiusSize",[2469,2723,2724],{},[250,2725,2726],{},"'md'",[2469,2728,2729,2730,2732],{},"Corner radius of the field (",[250,2731,972],{}," · xs · sm · md · lg · xl · rounded).",[2454,2734,2735,2739,2743,2747],{},[2469,2736,2737],{},[250,2738,1106],{},[2469,2740,2741],{},[250,2742,2565],{},[2469,2744,2745],{},[250,2746,2570],{},[2469,2748,2749,2750,2752,2753,780],{},"Native ",[250,2751,1106],{}," attribute; also renders a visual asterisk (",[250,2754,2755],{},"aria-hidden",[2454,2757,2758,2763,2768,2772],{},[2469,2759,2760],{},[250,2761,2762],{},"size",[2469,2764,2765],{},[250,2766,2767],{},"ActionSize",[2469,2769,2770],{},[250,2771,2726],{},[2469,2773,2774,2775,2777,2778,780],{},"Field height + text scale (",[250,2776,767],{}," · sm · md · lg · xl · ",[250,2779,771],{},[2454,2781,2782,2786,2790,2795],{},[2469,2783,2784],{},[250,2785,1713],{},[2469,2787,2788],{},[250,2789,2545],{},[2469,2791,2792],{},[250,2793,2794],{},"'text'",[2469,2796,2797,2798,257,2801,257,2803,257,2805,257,2807,257,2809,257,2811,2813],{},"Native input type (",[250,2799,2800],{},"text",[250,2802,1114],{},[250,2804,1723],{},[250,2806,1726],{},[250,2808,1729],{},[250,2810,1732],{},[250,2812,1735],{},", …).",[2454,2815,2816,2821,2826,2831],{},[2469,2817,2818],{},[250,2819,2820],{},"variant",[2469,2822,2823],{},[250,2824,2825],{},"'fill' | 'outline'",[2469,2827,2828],{},[250,2829,2830],{},"'outline'",[2469,2832,2833,2834,2836,2837,2839],{},"Visual style: ",[250,2835,355],{}," (border) or ",[250,2838,359],{}," (tinted background).",[2491,2841,2843],{"id":2842},"events-attributes","Events & attributes",[246,2845,2846,2848,2849,2851,2852,2855,2856,2859,2860,2863],{},[250,2847,252],{}," binds to a ",[250,2850,2545],{}," via ",[250,2853,2854],{},"defineModel\u003Cstring>()"," — it reads the ",[250,2857,2858],{},"modelValue"," prop and emits\n",[250,2861,2862],{},"update:modelValue"," on input, so you use it like any controlled field:",[377,2865,2867],{"className":379,"code":2866,"language":381,"meta":375,"style":375},"\u003COriInput v-model=\"myValue\" label=\"Name\" \u002F>\n",[250,2868,2869],{"__ignoreMap":375},[385,2870,2871,2873,2875,2877,2879,2881,2884,2886,2888,2890,2893],{"class":387,"line":388},[385,2872,392],{"class":391},[385,2874,396],{"class":395},[385,2876,400],{"class":399},[385,2878,403],{"class":391},[385,2880,407],{"class":406},[385,2882,2883],{"class":391},"myValue",[385,2885,407],{"class":406},[385,2887,415],{"class":399},[385,2889,403],{"class":391},[385,2891,2892],{"class":406},"\"Name\"",[385,2894,439],{"class":391},[246,2896,2897,2898,2901,2902,2905,2906,2908,2909,2912],{},"OriInput sets ",[250,2899,2900],{},"inheritAttrs: false"," and spreads ",[250,2903,2904],{},"$attrs"," onto the underlying ",[250,2907,291],{},", so native\nattributes and listeners pass through directly to the field element — not the wrapper ",[250,2910,2911],{},"\u003Cdiv>",":",[2362,2914,2915,2939],{},[2365,2916,2917,2918,257,2920,257,2922,257,2924,257,2926,257,2929,284,2932,257,2935,2938],{},"Attributes: ",[250,2919,280],{},[250,2921,283],{},[250,2923,287],{},[250,2925,2442],{},[250,2927,2928],{},"minlength",[250,2930,2931],{},"pattern",[250,2933,2934],{},"spellcheck",[250,2936,2937],{},"readonly",", …",[2365,2940,2941,2942,257,2945,257,2948,257,2951,257,2954,2938],{},"Listeners: ",[250,2943,2944],{},"@input",[250,2946,2947],{},"@change",[250,2949,2950],{},"@focus",[250,2952,2953],{},"@blur",[250,2955,2956],{},"@keydown",[2491,2958,2960],{"id":2959},"slots","Slots",[246,2962,2963],{},"OriInput exposes no named slots.",[2448,2965,2966,2975],{},[2451,2967,2968],{},[2454,2969,2970,2973],{},[2457,2971,2972],{},"Slot",[2457,2974,2512],{},[2464,2976,2977],{},[2454,2978,2979,2982],{},[2469,2980,2981],{},"(none)",[2469,2983,2984],{},"No slots are defined.",[2986,2987,2988],"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}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}",{"title":375,"searchDepth":442,"depth":442,"links":2990},[2991,2992,2993,2994,2995,2996,2997,2998,2999,3000,3001,3002],{"id":330,"depth":442,"text":331},{"id":348,"depth":442,"text":349},{"id":591,"depth":442,"text":592},{"id":761,"depth":442,"text":762},{"id":965,"depth":442,"text":966},{"id":1089,"depth":442,"text":1090},{"id":1364,"depth":442,"text":1365},{"id":1630,"depth":442,"text":1631},{"id":1707,"depth":442,"text":1708},{"id":1883,"depth":442,"text":1884},{"id":2357,"depth":442,"text":210},{"id":2479,"depth":442,"text":319,"children":3003},[3004,3005,3006],{"id":2493,"depth":538,"text":2494},{"id":2842,"depth":538,"text":2843},{"id":2959,"depth":538,"text":2960},{},{"title":58,"description":59},"components\u002Finput","p_1cLA4nSBnKC5BmZIUeenk18GQzZC_RyZsP-VX_s4k",1783874705763]