[{"data":1,"prerenderedAt":395},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":78,"navigation":111,"mobile-docs-page-meta":134,"docs-pages-category":155,"\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit":172,"surround-\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit":392},[4],{"title":5,"path":6,"stem":7,"children":8,"page":77},"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],{"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},"ChatMessage","\u002Fdocs\u002Fcomponents\u002Fchat-message","docs\u002F2.components\u002F2.chat-message",{"title":42,"path":43,"stem":44},"ChatMessages","\u002Fdocs\u002Fcomponents\u002Fchat-messages","docs\u002F2.components\u002F3.chat-messages",{"title":46,"path":47,"stem":48},"ChatPrompt","\u002Fdocs\u002Fcomponents\u002Fchat-prompt","docs\u002F2.components\u002F4.chat-prompt",{"title":50,"path":51,"stem":52},"ChatPromptSubmit","\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit","docs\u002F2.components\u002F5.chat-prompt-submit",{"title":54,"path":55,"stem":56},"DocsSearchModal","\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal","docs\u002F2.components\u002F6.docs-search-modal",{"title":58,"path":59,"stem":60},"PricingPlans","\u002Fdocs\u002Fcomponents\u002Fpricing-plans","docs\u002F2.components\u002F7.pricing-plans",{"title":62,"path":63,"stem":64},"PageToc","\u002Fdocs\u002Fcomponents\u002Fpage-toc","docs\u002F2.components\u002F8.page-toc",{"title":66,"path":67,"stem":68},"ReasoningDisclosure","\u002Fdocs\u002Fcomponents\u002Freasoning-disclosure","docs\u002F2.components\u002F8.reasoning-disclosure",{"title":70,"path":71,"stem":72},"DocsPager","\u002Fdocs\u002Fcomponents\u002Fdocs-pager","docs\u002F2.components\u002F9.docs-pager",{"title":74,"path":75,"stem":76},"HomeCta","\u002Fdocs\u002Fcomponents\u002Fhome-cta","docs\u002F2.components\u002F9.home-cta",false,[79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109],{"path":27,"title":26,"description":80},"Build Nuxt chat interfaces with installable shadcn-vue components you own and compose.",{"path":39,"title":38,"description":82},"Render an individual chat message bubble with AI SDK parts, actions, and layout control.",{"path":43,"title":42,"description":84},"Compose chat message lists with scrolling behavior, loading states, and action-ready assistant output.",{"path":47,"title":46,"description":86},"Build chat input flows with an auto-resizing prompt, keyboard shortcuts, and flexible slot composition.",{"path":51,"title":50,"description":88},"Handle chat submit, stop, and retry actions with a status-aware control for prompt workflows.",{"path":21,"title":20,"description":90},"Explore reusable components that complement Nuxt templates and real app workflows.",{"path":71,"title":70,"description":92},"Render previous and next documentation links from app-owned page data.",{"path":55,"title":54,"description":94},"Add a lightweight local search modal to Nuxt documentation interfaces.",{"path":35,"title":34,"description":96},"Render a reusable feature, content, or navigation card with optional link and icon slot.",{"path":75,"title":74,"description":98},"Render a centered marketing CTA section with an integrated starfield background.",{"path":17,"title":16,"description":100},"Start from templates or install individual components in your Nuxt project.",{"path":11,"title":10,"description":102},"Stackhacker UI is an open-source collection of Nuxt templates and components for the shadcn-vue community.",{"path":63,"title":62,"description":104},"Render an on-page table of contents from app-supplied heading links.",{"path":31,"title":30,"description":106},"Render a tilted photo card with app-owned image data and explicit presentation controls.",{"path":59,"title":58,"description":108},"Render a responsive pricing plan section from app-owned data.",{"path":67,"title":66,"description":110},"Show app-owned AI reasoning text in a compact collapsible disclosure.",[112],{"title":5,"path":6,"stem":7,"children":113,"page":77},[114,118],{"title":10,"path":11,"stem":12,"children":115},[116,117],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},{"title":20,"path":21,"stem":22,"children":119},[120,121,122,123,124,125,126,127,128,129,130,131,132,133],{"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},[135,137,138,139,141,143,145,146,147,148,149,150,151,152,153,154],{"path":11,"category":136},"overview",{"path":17,"category":136},{"path":21,"category":136},{"path":27,"category":140},"chat",{"path":31,"category":142},"content",{"path":35,"category":144},"marketing",{"path":39,"category":140},{"path":43,"category":140},{"path":47,"category":140},{"path":51,"category":140},{"path":55,"category":142},{"path":59,"category":144},{"path":63,"category":142},{"path":67,"category":140},{"path":71,"category":142},{"path":75,"category":144},[156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171],{"path":11,"category":136},{"path":17,"category":136},{"path":21,"category":136},{"path":27,"category":140},{"path":31,"category":142},{"path":35,"category":144},{"path":39,"category":140},{"path":43,"category":140},{"path":47,"category":140},{"path":51,"category":140},{"path":55,"category":142},{"path":59,"category":144},{"path":63,"category":142},{"path":67,"category":140},{"path":71,"category":142},{"path":75,"category":144},{"id":173,"title":50,"body":174,"category":140,"description":88,"extension":387,"meta":388,"navigation":389,"path":51,"seo":390,"stem":52,"__hash__":391},"docs\u002Fdocs\u002F2.components\u002F5.chat-prompt-submit.md",{"type":175,"value":176,"toc":374},"minimark",[177,181,185,196,200,208,212,217,219,223,227,327,331],[178,179],"component-preview",{"name":180},"ChatPromptSubmitDemo",[182,183,16],"h2",{"id":184},"installation",[186,187,193],"pre",{"className":188,"code":190,"language":191,"meta":192},[189],"language-bash","npx shadcn-vue@latest add \"https:\u002F\u002Fui.stackhacker.io\u002Fr\u002Fchat-prompt-submit.json\"\n","bash","",[194,195,190],"code",{"__ignoreMap":192},[182,197,199],{"id":198},"usage","Usage",[186,201,206],{"className":202,"code":204,"language":205,"meta":192},[203],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { ChatPromptSubmit } from '@\u002Fcomponents\u002Fchat-prompt-submit'\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CChatPromptSubmit status=\"ready\" @stop=\"handleStop\" @reload=\"handleReload\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[194,207,204],{"__ignoreMap":192},[182,209,211],{"id":210},"examples","Examples",[213,214,216],"h3",{"id":215},"default","Default",[178,218],{"name":180},[182,220,222],{"id":221},"api-reference","API Reference",[213,224,226],{"id":225},"props","Props",[228,229,230,248],"table",{},[231,232,233],"thead",{},[234,235,236,240,243,245],"tr",{},[237,238,239],"th",{},"Prop",[237,241,242],{},"Type",[237,244,216],{},[237,246,247],{},"Description",[249,250,251,272,292,310],"tbody",{},[234,252,253,259,264,269],{},[254,255,256],"td",{},[194,257,258],{},"status",[254,260,261],{},[194,262,263],{},"'ready' | 'streaming' | 'submitted' | 'error'",[254,265,266],{},[194,267,268],{},"'ready'",[254,270,271],{},"Current chat status. Controls the displayed icon.",[234,273,274,279,284,289],{},[254,275,276],{},[194,277,278],{},"disabled",[254,280,281],{},[194,282,283],{},"boolean",[254,285,286],{},[194,287,288],{},"false",[254,290,291],{},"Disable the button.",[234,293,294,299,304,307],{},[254,295,296],{},[194,297,298],{},"ariaLabel",[254,300,301],{},[194,302,303],{},"string",[254,305,306],{},"status-aware label",[254,308,309],{},"Accessible label for the icon-only button.",[234,311,312,317,321,324],{},[254,313,314],{},[194,315,316],{},"class",[254,318,319],{},[194,320,303],{},[254,322,323],{},"—",[254,325,326],{},"Additional CSS classes.",[213,328,330],{"id":329},"emits","Emits",[228,332,333,342],{},[231,334,335],{},[234,336,337,340],{},[237,338,339],{},"Event",[237,341,247],{},[249,343,344,362],{},[234,345,346,351],{},[254,347,348],{},[194,349,350],{},"stop",[254,352,353,354,357,358,361],{},"Emitted when clicked during ",[194,355,356],{},"streaming"," or ",[194,359,360],{},"submitted"," status.",[234,363,364,369],{},[254,365,366],{},[194,367,368],{},"reload",[254,370,353,371,361],{},[194,372,373],{},"error",{"title":192,"searchDepth":375,"depth":375,"links":376},2,[377,378,379,383],{"id":184,"depth":375,"text":16},{"id":198,"depth":375,"text":199},{"id":210,"depth":375,"text":211,"children":380},[381],{"id":215,"depth":382,"text":216},3,{"id":221,"depth":375,"text":222,"children":384},[385,386],{"id":225,"depth":382,"text":226},{"id":329,"depth":382,"text":330},"md",{},true,{"title":50,"description":88},"OxikV4sqOUjbIMc8MI2jT-aIoG4c4zLS5I1ty2A8ksI",[393,394],{"title":46,"path":47,"stem":48,"children":-1},{"title":54,"path":55,"stem":56,"children":-1},1782455050225]