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