[{"data":1,"prerenderedAt":523},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":86,"navigation":123,"mobile-docs-page-meta":148,"docs-pages-category":171,"\u002Fdocs\u002Fcomponents\u002Fchat-prompt":190,"surround-\u002Fdocs\u002Fcomponents\u002Fchat-prompt":520},[4],{"title":5,"path":6,"stem":7,"children":8,"page":85},"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],{"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},"ChatMessage","\u002Fdocs\u002Fcomponents\u002Fchat-message","docs\u002F2.components\u002F2.chat-message",{"title":50,"path":51,"stem":52},"ChatMessages","\u002Fdocs\u002Fcomponents\u002Fchat-messages","docs\u002F2.components\u002F3.chat-messages",{"title":54,"path":55,"stem":56},"ChatPrompt","\u002Fdocs\u002Fcomponents\u002Fchat-prompt","docs\u002F2.components\u002F4.chat-prompt",{"title":58,"path":59,"stem":60},"ChatPromptSubmit","\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit","docs\u002F2.components\u002F5.chat-prompt-submit",{"title":62,"path":63,"stem":64},"DocsSearchModal","\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal","docs\u002F2.components\u002F6.docs-search-modal",{"title":66,"path":67,"stem":68},"PricingPlans","\u002Fdocs\u002Fcomponents\u002Fpricing-plans","docs\u002F2.components\u002F7.pricing-plans",{"title":70,"path":71,"stem":72},"PageToc","\u002Fdocs\u002Fcomponents\u002Fpage-toc","docs\u002F2.components\u002F8.page-toc",{"title":74,"path":75,"stem":76},"ReasoningDisclosure","\u002Fdocs\u002Fcomponents\u002Freasoning-disclosure","docs\u002F2.components\u002F8.reasoning-disclosure",{"title":78,"path":79,"stem":80},"DocsPager","\u002Fdocs\u002Fcomponents\u002Fdocs-pager","docs\u002F2.components\u002F9.docs-pager",{"title":82,"path":83,"stem":84},"HomeCta","\u002Fdocs\u002Fcomponents\u002Fhome-cta","docs\u002F2.components\u002F9.home-cta",false,[87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121],{"path":39,"title":38,"description":88},"Render a release timeline from app-owned changelog data with optional rich body slots.",{"path":27,"title":26,"description":90},"Build Nuxt chat interfaces with installable shadcn-vue components you own and compose.",{"path":47,"title":46,"description":92},"Render an individual chat message bubble with AI SDK parts, actions, and layout control.",{"path":51,"title":50,"description":94},"Compose chat message lists with scrolling behavior, loading states, and action-ready assistant output.",{"path":55,"title":54,"description":96},"Build chat input flows with an auto-resizing prompt, keyboard shortcuts, and flexible slot composition.",{"path":59,"title":58,"description":98},"Handle chat submit, stop, and retry actions with a status-aware control for prompt workflows.",{"path":21,"title":20,"description":100},"Explore reusable components that complement Nuxt templates and real app workflows.",{"path":79,"title":78,"description":102},"Render previous and next documentation links from app-owned page data.",{"path":63,"title":62,"description":104},"Add a lightweight local search modal to Nuxt documentation interfaces.",{"path":35,"title":34,"description":106},"Render a reusable feature, content, or navigation card with optional link and icon slot.",{"path":83,"title":82,"description":108},"Render a centered marketing CTA section with an integrated starfield background.",{"path":17,"title":16,"description":110},"Start from templates or install individual components in your Nuxt project.",{"path":11,"title":10,"description":112},"Stackhacker UI is an open-source collection of Nuxt templates and components for the shadcn-vue community.",{"path":43,"title":42,"description":114},"Render a responsive marketing metrics section from app-owned data.",{"path":71,"title":70,"description":116},"Render an on-page table of contents from app-supplied heading links.",{"path":31,"title":30,"description":118},"Render a tilted photo card with app-owned image data and explicit presentation controls.",{"path":67,"title":66,"description":120},"Render a responsive pricing plan section from app-owned data.",{"path":75,"title":74,"description":122},"Show app-owned AI reasoning text in a compact collapsible disclosure.",[124],{"title":5,"path":6,"stem":7,"children":125,"page":85},[126,130],{"title":10,"path":11,"stem":12,"children":127},[128,129],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},{"title":20,"path":21,"stem":22,"children":131},[132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147],{"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},[149,151,152,153,155,157,159,160,161,162,163,164,165,166,167,168,169,170],{"path":11,"category":150},"overview",{"path":17,"category":150},{"path":21,"category":150},{"path":27,"category":154},"chat",{"path":31,"category":156},"content",{"path":35,"category":158},"marketing",{"path":39,"category":156},{"path":43,"category":158},{"path":47,"category":154},{"path":51,"category":154},{"path":55,"category":154},{"path":59,"category":154},{"path":63,"category":156},{"path":67,"category":158},{"path":71,"category":156},{"path":75,"category":154},{"path":79,"category":156},{"path":83,"category":158},[172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189],{"path":11,"category":150},{"path":17,"category":150},{"path":21,"category":150},{"path":27,"category":154},{"path":31,"category":156},{"path":35,"category":158},{"path":39,"category":156},{"path":43,"category":158},{"path":47,"category":154},{"path":51,"category":154},{"path":55,"category":154},{"path":59,"category":154},{"path":63,"category":156},{"path":67,"category":158},{"path":71,"category":156},{"path":75,"category":154},{"path":79,"category":156},{"path":83,"category":158},{"id":191,"title":54,"body":192,"category":154,"description":96,"extension":515,"meta":516,"navigation":517,"path":55,"seo":518,"stem":56,"__hash__":519},"docs\u002Fdocs\u002F2.components\u002F4.chat-prompt.md",{"type":193,"value":194,"toc":500},"minimark",[195,199,203,214,218,226,230,235,237,241,245,381,385,429,433,466,470],[196,197],"component-preview",{"name":198},"ChatPromptDemo",[200,201,16],"h2",{"id":202},"installation",[204,205,211],"pre",{"className":206,"code":208,"language":209,"meta":210},[207],"language-bash","npx shadcn-vue@latest add \"https:\u002F\u002Fui.stackhacker.io\u002Fr\u002Fchat-prompt.json\"\n","bash","",[212,213,208],"code",{"__ignoreMap":210},[200,215,217],{"id":216},"usage","Usage",[204,219,224],{"className":220,"code":222,"language":223,"meta":210},[221],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { ChatPrompt } from '@\u002Fcomponents\u002Fchat-prompt'\n\nconst input = ref('')\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CChatPrompt v-model=\"input\" @submit=\"handleSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[212,225,222],{"__ignoreMap":210},[200,227,229],{"id":228},"examples","Examples",[231,232,234],"h3",{"id":233},"default","Default",[196,236],{"name":198},[200,238,240],{"id":239},"api-reference","API Reference",[231,242,244],{"id":243},"props","Props",[246,247,248,266],"table",{},[249,250,251],"thead",{},[252,253,254,258,261,263],"tr",{},[255,256,257],"th",{},"Prop",[255,259,260],{},"Type",[255,262,234],{},[255,264,265],{},"Description",[267,268,269,290,309,329,347,365],"tbody",{},[252,270,271,277,282,287],{},[272,273,274],"td",{},[212,275,276],{},"modelValue",[272,278,279],{},[212,280,281],{},"string",[272,283,284],{},[212,285,286],{},"''",[272,288,289],{},"Current input value (v-model).",[252,291,292,297,301,306],{},[272,293,294],{},[212,295,296],{},"placeholder",[272,298,299],{},[212,300,281],{},[272,302,303],{},[212,304,305],{},"'Type your message here...'",[272,307,308],{},"Textarea placeholder text.",[252,310,311,316,321,326],{},[272,312,313],{},[212,314,315],{},"disabled",[272,317,318],{},[212,319,320],{},"boolean",[272,322,323],{},[212,324,325],{},"false",[272,327,328],{},"Disable the prompt.",[252,330,331,336,340,344],{},[272,332,333],{},[212,334,335],{},"autofocus",[272,337,338],{},[212,339,320],{},[272,341,342],{},[212,343,325],{},[272,345,346],{},"Auto-focus the textarea on mount.",[252,348,349,354,359,362],{},[272,350,351],{},[212,352,353],{},"error",[272,355,356],{},[212,357,358],{},"Error | null",[272,360,361],{},"—",[272,363,364],{},"Error state.",[252,366,367,372,376,378],{},[272,368,369],{},[212,370,371],{},"class",[272,373,374],{},[212,375,281],{},[272,377,361],{},[272,379,380],{},"Additional CSS classes.",[231,382,384],{"id":383},"emits","Emits",[246,386,387,399],{},[249,388,389],{},[252,390,391,394,397],{},[255,392,393],{},"Event",[255,395,396],{},"Payload",[255,398,265],{},[267,400,401,415],{},[252,402,403,408,412],{},[272,404,405],{},[212,406,407],{},"update:modelValue",[272,409,410],{},[212,411,281],{},[272,413,414],{},"Emitted when the input value changes.",[252,416,417,422,426],{},[272,418,419],{},[212,420,421],{},"submit",[272,423,424],{},[212,425,393],{},[272,427,428],{},"Emitted when Enter is pressed (without Shift) or the form is submitted.",[231,430,432],{"id":431},"slots","Slots",[246,434,435,444],{},[249,436,437],{},[252,438,439,442],{},[255,440,441],{},"Slot",[255,443,265],{},[267,445,446,456],{},[252,447,448,453],{},[272,449,450],{},[212,451,452],{},"header",[272,454,455],{},"Content rendered above the textarea.",[252,457,458,463],{},[272,459,460],{},[212,461,462],{},"footer",[272,464,465],{},"Content rendered below the textarea, typically for action buttons.",[231,467,469],{"id":468},"expose","Expose",[246,471,472,483],{},[249,473,474],{},[252,475,476,479,481],{},[255,477,478],{},"Name",[255,480,260],{},[255,482,265],{},[267,484,485],{},[252,486,487,492,497],{},[272,488,489],{},[212,490,491],{},"textareaRef",[272,493,494],{},[212,495,496],{},"Ref\u003CHTMLTextAreaElement>",[272,498,499],{},"Reference to the underlying textarea element.",{"title":210,"searchDepth":501,"depth":501,"links":502},2,[503,504,505,509],{"id":202,"depth":501,"text":16},{"id":216,"depth":501,"text":217},{"id":228,"depth":501,"text":229,"children":506},[507],{"id":233,"depth":508,"text":234},3,{"id":239,"depth":501,"text":240,"children":510},[511,512,513,514],{"id":243,"depth":508,"text":244},{"id":383,"depth":508,"text":384},{"id":431,"depth":508,"text":432},{"id":468,"depth":508,"text":469},"md",{},true,{"title":54,"description":96},"uRbFfCuV9ADf1LPMURN5JfdEjj61jT-VckhUeWWatK0",[521,522],{"title":50,"path":51,"stem":52,"children":-1},{"title":58,"path":59,"stem":60,"children":-1},1782555895871]