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