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