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