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