[{"data":1,"prerenderedAt":685},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":126,"navigation":183,"mobile-docs-page-meta":218,"docs-pages-category":252,"\u002Fdocs\u002Fcomponents\u002Fmodel-picker":281,"surround-\u002Fdocs\u002Fcomponents\u002Fmodel-picker":682},[4],{"title":5,"path":6,"stem":7,"children":8,"page":125},"Docs","\u002Fdocs","docs",[9,19],{"title":10,"path":11,"stem":12,"children":13},"Introduction","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[14,15],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation",{"title":20,"path":21,"stem":22,"children":23},"Components","\u002Fdocs\u002Fcomponents","docs\u002F2.components\u002F0.index",[24,25,29,33,37,41,45,49,53,57,61,65,69,73,77,81,85,89,93,97,101,105,109,113,117,121],{"title":20,"path":21,"stem":22},{"title":26,"path":27,"stem":28},"Chat","\u002Fdocs\u002Fcomponents\u002Fchat","docs\u002F2.components\u002F1.chat",{"title":30,"path":31,"stem":32},"PolaroidCard","\u002Fdocs\u002Fcomponents\u002Fpolaroid-card","docs\u002F2.components\u002F10.polaroid-card",{"title":34,"path":35,"stem":36},"FeatureCard","\u002Fdocs\u002Fcomponents\u002Ffeature-card","docs\u002F2.components\u002F11.feature-card",{"title":38,"path":39,"stem":40},"ChangelogTimeline","\u002Fdocs\u002Fcomponents\u002Fchangelog-timeline","docs\u002F2.components\u002F12.changelog-timeline",{"title":42,"path":43,"stem":44},"MetricsGrid","\u002Fdocs\u002Fcomponents\u002Fmetrics-grid","docs\u002F2.components\u002F13.metrics-grid",{"title":46,"path":47,"stem":48},"Testimonials","\u002Fdocs\u002Fcomponents\u002Ftestimonials","docs\u002F2.components\u002F13.testimonials",{"title":50,"path":51,"stem":52},"FeatureGrid","\u002Fdocs\u002Fcomponents\u002Ffeature-grid","docs\u002F2.components\u002F14.feature-grid",{"title":54,"path":55,"stem":56},"FaqTabs","\u002Fdocs\u002Fcomponents\u002Ffaq-tabs","docs\u002F2.components\u002F15.faq-tabs",{"title":58,"path":59,"stem":60},"BlogPostGrid","\u002Fdocs\u002Fcomponents\u002Fblog-post-grid","docs\u002F2.components\u002F16.blog-post-grid",{"title":62,"path":63,"stem":64},"FeatureSplit","\u002Fdocs\u002Fcomponents\u002Ffeature-split","docs\u002F2.components\u002F17.feature-split",{"title":66,"path":67,"stem":68},"FileAttachment","\u002Fdocs\u002Fcomponents\u002Ffile-attachment","docs\u002F2.components\u002F17.file-attachment",{"title":70,"path":71,"stem":72},"ModelPicker","\u002Fdocs\u002Fcomponents\u002Fmodel-picker","docs\u002F2.components\u002F17.model-picker",{"title":74,"path":75,"stem":76},"WorkExperience","\u002Fdocs\u002Fcomponents\u002Fwork-experience","docs\u002F2.components\u002F17.work-experience",{"title":78,"path":79,"stem":80},"Form","\u002Fdocs\u002Fcomponents\u002Fform","docs\u002F2.components\u002F18.form",{"title":82,"path":83,"stem":84},"FormField","\u002Fdocs\u002Fcomponents\u002Fform-field","docs\u002F2.components\u002F19.form-field",{"title":86,"path":87,"stem":88},"ChatMessage","\u002Fdocs\u002Fcomponents\u002Fchat-message","docs\u002F2.components\u002F2.chat-message",{"title":90,"path":91,"stem":92},"ChatMessages","\u002Fdocs\u002Fcomponents\u002Fchat-messages","docs\u002F2.components\u002F3.chat-messages",{"title":94,"path":95,"stem":96},"ChatPrompt","\u002Fdocs\u002Fcomponents\u002Fchat-prompt","docs\u002F2.components\u002F4.chat-prompt",{"title":98,"path":99,"stem":100},"ChatPromptSubmit","\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit","docs\u002F2.components\u002F5.chat-prompt-submit",{"title":102,"path":103,"stem":104},"DocsSearchModal","\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal","docs\u002F2.components\u002F6.docs-search-modal",{"title":106,"path":107,"stem":108},"PricingPlans","\u002Fdocs\u002Fcomponents\u002Fpricing-plans","docs\u002F2.components\u002F7.pricing-plans",{"title":110,"path":111,"stem":112},"PageToc","\u002Fdocs\u002Fcomponents\u002Fpage-toc","docs\u002F2.components\u002F8.page-toc",{"title":114,"path":115,"stem":116},"ReasoningDisclosure","\u002Fdocs\u002Fcomponents\u002Freasoning-disclosure","docs\u002F2.components\u002F8.reasoning-disclosure",{"title":118,"path":119,"stem":120},"DocsPager","\u002Fdocs\u002Fcomponents\u002Fdocs-pager","docs\u002F2.components\u002F9.docs-pager",{"title":122,"path":123,"stem":124},"HomeCta","\u002Fdocs\u002Fcomponents\u002Fhome-cta","docs\u002F2.components\u002F9.home-cta",false,[127,129,131,133,135,137,139,141,143,145,147,149,151,153,155,157,159,161,163,165,167,169,171,173,175,177,179,181],{"path":59,"title":58,"description":128},"Render responsive blog and content teaser grids from display-ready post data.",{"path":39,"title":38,"description":130},"Render a release timeline from app-owned changelog data with optional rich body slots.",{"path":27,"title":26,"description":132},"Build Nuxt chat interfaces with installable shadcn-vue components you own and compose.",{"path":87,"title":86,"description":134},"Render an individual chat message bubble with AI SDK parts, actions, and layout control.",{"path":91,"title":90,"description":136},"Compose chat message lists with scrolling behavior, loading states, and action-ready assistant output.",{"path":95,"title":94,"description":138},"Build chat input flows with an auto-resizing prompt, keyboard shortcuts, and flexible slot composition.",{"path":99,"title":98,"description":140},"Handle chat submit, stop, and retry actions with a status-aware control for prompt workflows.",{"path":21,"title":20,"description":142},"Explore reusable components that complement Nuxt templates and real app workflows.",{"path":119,"title":118,"description":144},"Render previous and next documentation links from app-owned page data.",{"path":103,"title":102,"description":146},"Add a lightweight local search modal to Nuxt documentation interfaces.",{"path":55,"title":54,"description":148},"Render categorized FAQ sections while keeping answer content in your app.",{"path":35,"title":34,"description":150},"Render a reusable feature, content, or navigation card with optional link and icon slot.",{"path":51,"title":50,"description":152},"Render a complete feature section from app-owned feature data.",{"path":63,"title":62,"description":154},"Render alternating split feature sections with app-owned media and icon slots.",{"path":67,"title":66,"description":156},"Render display-only file attachment UI while your app owns upload behavior.",{"path":79,"title":78,"description":158},"Validate app-owned form state and distribute errors to named fields.",{"path":83,"title":82,"description":160},"Wrap form controls with labels, descriptions, help text, and validation errors.",{"path":123,"title":122,"description":162},"Render a centered marketing CTA section with an integrated starfield background.",{"path":17,"title":16,"description":164},"Start from templates or install individual components in your Nuxt project.",{"path":11,"title":10,"description":166},"Stackhacker UI is an open-source collection of Nuxt templates and components for the shadcn-vue community.",{"path":43,"title":42,"description":168},"Render a responsive marketing metrics section from app-owned data.",{"path":71,"title":70,"description":170},"Render a controlled model selector from app-owned model\u002Fprovider data.",{"path":111,"title":110,"description":172},"Render an on-page table of contents from app-supplied heading links.",{"path":31,"title":30,"description":174},"Render a tilted photo card with app-owned image data and explicit presentation controls.",{"path":107,"title":106,"description":176},"Render a responsive pricing plan section from app-owned data.",{"path":115,"title":114,"description":178},"Show app-owned AI reasoning text in a compact collapsible disclosure.",{"path":47,"title":46,"description":180},"Render a responsive social-proof section from app-owned testimonial data.",{"path":75,"title":74,"description":182},"Render compact work-history and resume lists from app-owned experience data.",[184],{"title":5,"path":6,"stem":7,"children":185,"page":125},[186,190],{"title":10,"path":11,"stem":12,"children":187},[188,189],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},{"title":20,"path":21,"stem":22,"children":191},[192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217],{"title":20,"path":21,"stem":22},{"title":26,"path":27,"stem":28},{"title":30,"path":31,"stem":32},{"title":34,"path":35,"stem":36},{"title":38,"path":39,"stem":40},{"title":42,"path":43,"stem":44},{"title":46,"path":47,"stem":48},{"title":50,"path":51,"stem":52},{"title":54,"path":55,"stem":56},{"title":58,"path":59,"stem":60},{"title":62,"path":63,"stem":64},{"title":66,"path":67,"stem":68},{"title":70,"path":71,"stem":72},{"title":74,"path":75,"stem":76},{"title":78,"path":79,"stem":80},{"title":82,"path":83,"stem":84},{"title":86,"path":87,"stem":88},{"title":90,"path":91,"stem":92},{"title":94,"path":95,"stem":96},{"title":98,"path":99,"stem":100},{"title":102,"path":103,"stem":104},{"title":106,"path":107,"stem":108},{"title":110,"path":111,"stem":112},{"title":114,"path":115,"stem":116},{"title":118,"path":119,"stem":120},{"title":122,"path":123,"stem":124},[219,221,222,223,225,227,229,230,231,232,233,234,235,236,237,238,239,241,242,243,244,245,246,247,248,249,250,251],{"path":11,"category":220},"overview",{"path":17,"category":220},{"path":21,"category":220},{"path":27,"category":224},"chat",{"path":31,"category":226},"content",{"path":35,"category":228},"marketing",{"path":39,"category":226},{"path":43,"category":228},{"path":47,"category":228},{"path":51,"category":228},{"path":55,"category":228},{"path":59,"category":226},{"path":63,"category":228},{"path":67,"category":224},{"path":71,"category":224},{"path":75,"category":226},{"path":79,"category":240},"form",{"path":83,"category":240},{"path":87,"category":224},{"path":91,"category":224},{"path":95,"category":224},{"path":99,"category":224},{"path":103,"category":226},{"path":107,"category":228},{"path":111,"category":226},{"path":115,"category":224},{"path":119,"category":226},{"path":123,"category":228},[253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280],{"path":11,"category":220},{"path":17,"category":220},{"path":21,"category":220},{"path":27,"category":224},{"path":31,"category":226},{"path":35,"category":228},{"path":39,"category":226},{"path":43,"category":228},{"path":47,"category":228},{"path":51,"category":228},{"path":55,"category":228},{"path":59,"category":226},{"path":63,"category":228},{"path":67,"category":224},{"path":71,"category":224},{"path":75,"category":226},{"path":79,"category":240},{"path":83,"category":240},{"path":87,"category":224},{"path":91,"category":224},{"path":95,"category":224},{"path":99,"category":224},{"path":103,"category":226},{"path":107,"category":228},{"path":111,"category":226},{"path":115,"category":224},{"path":119,"category":226},{"path":123,"category":228},{"id":282,"title":70,"body":283,"category":224,"description":170,"extension":677,"meta":678,"navigation":679,"path":71,"seo":680,"stem":72,"__hash__":681},"docs\u002Fdocs\u002F2.components\u002F17.model-picker.md",{"type":284,"value":285,"toc":661},"minimark",[286,290,294,305,309,317,321,327,342,346,351,353,357,361,537,541,549,553,583,587],[287,288],"component-preview",{"name":289},"ModelPickerDemo",[291,292,16],"h2",{"id":293},"installation",[295,296,302],"pre",{"className":297,"code":299,"language":300,"meta":301},[298],"language-bash","npx shadcn-vue@latest add \"https:\u002F\u002Fui.stackhacker.io\u002Fr\u002Fmodel-picker.json\"\n","bash","",[303,304,299],"code",{"__ignoreMap":301},[291,306,308],{"id":307},"usage","Usage",[295,310,315],{"className":311,"code":313,"language":314,"meta":301},[312],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { ref } from 'vue'\nimport { ModelPicker, type ModelPickerModel } from '@\u002Fcomponents\u002Fmodel-picker'\n\nconst selected = ref('openai\u002Fgpt-5-nano')\n\nconst models: ModelPickerModel[] = [\n  { value: 'openai\u002Fgpt-5-nano', label: 'GPT-5 Nano', provider: 'OpenAI' },\n  { value: 'anthropic\u002Fclaude-haiku-4.5', label: 'Claude Haiku 4.5', provider: 'Anthropic' }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CModelPicker v-model=\"selected\" :models=\"models\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[303,316,313],{"__ignoreMap":301},[291,318,320],{"id":319},"app-owned-model-state","App-Owned Model State",[322,323,324,326],"p",{},[303,325,70],{}," is controlled UI. Your app owns model availability, provider metadata, persistence, cookies or local storage, pricing, and runtime selection behavior.",[322,328,329,330,333,334,337,338,341],{},"Pass model options through the ",[303,331,332],{},"models"," prop and handle ",[303,335,336],{},"update:modelValue"," through ",[303,339,340],{},"v-model",". Use scoped slots for provider icons or custom option rendering instead of Nuxt Icon strings or hardcoded provider lists.",[291,343,345],{"id":344},"examples","Examples",[347,348,350],"h3",{"id":349},"controlled-picker","Controlled picker",[287,352],{"name":289},[291,354,356],{"id":355},"api-reference","API Reference",[347,358,360],{"id":359},"props","Props",[362,363,364,383],"table",{},[365,366,367],"thead",{},[368,369,370,374,377,380],"tr",{},[371,372,373],"th",{},"Prop",[371,375,376],{},"Type",[371,378,379],{},"Default",[371,381,382],{},"Description",[384,385,386,405,424,443,462,481,501,521],"tbody",{},[368,387,388,394,399,402],{},[389,390,391],"td",{},[303,392,393],{},"modelValue",[389,395,396],{},[303,397,398],{},"string",[389,400,401],{},"—",[389,403,404],{},"Controlled selected model value.",[368,406,407,411,416,421],{},[389,408,409],{},[303,410,332],{},[389,412,413],{},[303,414,415],{},"ModelPickerModel[] | null",[389,417,418],{},[303,419,420],{},"[]",[389,422,423],{},"Models supplied by your app.",[368,425,426,431,435,440],{},[389,427,428],{},[303,429,430],{},"placeholder",[389,432,433],{},[303,434,398],{},[389,436,437],{},[303,438,439],{},"'Select model'",[389,441,442],{},"Trigger placeholder when selected value is unknown.",[368,444,445,450,454,459],{},[389,446,447],{},[303,448,449],{},"searchPlaceholder",[389,451,452],{},[303,453,398],{},[389,455,456],{},[303,457,458],{},"'Search models...'",[389,460,461],{},"Search input placeholder.",[368,463,464,469,473,478],{},[389,465,466],{},[303,467,468],{},"emptyLabel",[389,470,471],{},[303,472,398],{},[389,474,475],{},[303,476,477],{},"'No models found.'",[389,479,480],{},"Empty state text.",[368,482,483,488,493,498],{},[389,484,485],{},[303,486,487],{},"disabled",[389,489,490],{},[303,491,492],{},"boolean",[389,494,495],{},[303,496,497],{},"false",[389,499,500],{},"Disable the picker.",[368,502,503,508,513,518],{},[389,504,505],{},[303,506,507],{},"align",[389,509,510],{},[303,511,512],{},"'start' | 'end'",[389,514,515],{},[303,516,517],{},"'start'",[389,519,520],{},"Align the menu against the trigger.",[368,522,523,528,532,534],{},[389,524,525],{},[303,526,527],{},"class",[389,529,530],{},[303,531,398],{},[389,533,401],{},[389,535,536],{},"Additional CSS classes for the root element.",[347,538,540],{"id":539},"types","Types",[295,542,547],{"className":543,"code":545,"language":546,"meta":301},[544],"language-ts","interface ModelPickerModel {\n  value: string\n  label: string\n  description?: string\n  provider?: string\n  disabled?: boolean\n}\n","ts",[303,548,545],{"__ignoreMap":301},[347,550,552],{"id":551},"events","Events",[362,554,555,567],{},[365,556,557],{},[368,558,559,562,565],{},[371,560,561],{},"Event",[371,563,564],{},"Payload",[371,566,382],{},[384,568,569],{},[368,570,571,575,580],{},[389,572,573],{},[303,574,336],{},[389,576,577],{},[303,578,579],{},"[value: string]",[389,581,582],{},"Emitted when a selectable model is chosen.",[347,584,586],{"id":585},"slots","Slots",[362,588,589,600],{},[365,590,591],{},[368,592,593,596,598],{},[371,594,595],{},"Slot",[371,597,360],{},[371,599,382],{},[384,601,602,617,631,646],{},[368,603,604,609,614],{},[389,605,606],{},[303,607,608],{},"icon",[389,610,611],{},[303,612,613],{},"{ model?: ModelPickerModel }",[389,615,616],{},"Optional icon for the selected model and option rows.",[368,618,619,624,628],{},[389,620,621],{},[303,622,623],{},"selected",[389,625,626],{},[303,627,613],{},[389,629,630],{},"Replace trigger selected-model content.",[368,632,633,638,643],{},[389,634,635],{},[303,636,637],{},"option",[389,639,640],{},[303,641,642],{},"{ model: ModelPickerModel, selected: boolean }",[389,644,645],{},"Replace option row content.",[368,647,648,653,658],{},[389,649,650],{},[303,651,652],{},"empty",[389,654,655],{},[303,656,657],{},"{ query: string }",[389,659,660],{},"Replace empty state content.",{"title":301,"searchDepth":662,"depth":662,"links":663},2,[664,665,666,667,671],{"id":293,"depth":662,"text":16},{"id":307,"depth":662,"text":308},{"id":319,"depth":662,"text":320},{"id":344,"depth":662,"text":345,"children":668},[669],{"id":349,"depth":670,"text":350},3,{"id":355,"depth":662,"text":356,"children":672},[673,674,675,676],{"id":359,"depth":670,"text":360},{"id":539,"depth":670,"text":540},{"id":551,"depth":670,"text":552},{"id":585,"depth":670,"text":586},"md",{},true,{"title":70,"description":170},"P82U78_OYxcf65hZkWOGPWEgMiHnh7mfP9rrzFlPqQc",[683,684],{"title":66,"path":67,"stem":68,"children":-1},{"title":74,"path":75,"stem":76,"children":-1},1782805881510]