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