[{"data":1,"prerenderedAt":513},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":74,"navigation":105,"mobile-docs-page-meta":127,"docs-pages-category":147,"\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal":163,"surround-\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal":510},[4],{"title":5,"path":6,"stem":7,"children":8,"page":73},"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],{"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},"ChatMessage","\u002Fdocs\u002Fcomponents\u002Fchat-message","docs\u002F2.components\u002F2.chat-message",{"title":38,"path":39,"stem":40},"ChatMessages","\u002Fdocs\u002Fcomponents\u002Fchat-messages","docs\u002F2.components\u002F3.chat-messages",{"title":42,"path":43,"stem":44},"ChatPrompt","\u002Fdocs\u002Fcomponents\u002Fchat-prompt","docs\u002F2.components\u002F4.chat-prompt",{"title":46,"path":47,"stem":48},"ChatPromptSubmit","\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit","docs\u002F2.components\u002F5.chat-prompt-submit",{"title":50,"path":51,"stem":52},"DocsSearchModal","\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal","docs\u002F2.components\u002F6.docs-search-modal",{"title":54,"path":55,"stem":56},"PricingPlans","\u002Fdocs\u002Fcomponents\u002Fpricing-plans","docs\u002F2.components\u002F7.pricing-plans",{"title":58,"path":59,"stem":60},"PageToc","\u002Fdocs\u002Fcomponents\u002Fpage-toc","docs\u002F2.components\u002F8.page-toc",{"title":62,"path":63,"stem":64},"ReasoningDisclosure","\u002Fdocs\u002Fcomponents\u002Freasoning-disclosure","docs\u002F2.components\u002F8.reasoning-disclosure",{"title":66,"path":67,"stem":68},"DocsPager","\u002Fdocs\u002Fcomponents\u002Fdocs-pager","docs\u002F2.components\u002F9.docs-pager",{"title":70,"path":71,"stem":72},"HomeCta","\u002Fdocs\u002Fcomponents\u002Fhome-cta","docs\u002F2.components\u002F9.home-cta",false,[75,77,79,81,83,85,87,89,91,93,95,97,99,101,103],{"path":27,"title":26,"description":76},"Build Nuxt chat interfaces with installable shadcn-vue components you own and compose.",{"path":35,"title":34,"description":78},"Render an individual chat message bubble with AI SDK parts, actions, and layout control.",{"path":39,"title":38,"description":80},"Compose chat message lists with scrolling behavior, loading states, and action-ready assistant output.",{"path":43,"title":42,"description":82},"Build chat input flows with an auto-resizing prompt, keyboard shortcuts, and flexible slot composition.",{"path":47,"title":46,"description":84},"Handle chat submit, stop, and retry actions with a status-aware control for prompt workflows.",{"path":21,"title":20,"description":86},"Explore reusable components that complement Nuxt templates and real app workflows.",{"path":67,"title":66,"description":88},"Render previous and next documentation links from app-owned page data.",{"path":51,"title":50,"description":90},"Add a lightweight local search modal to Nuxt documentation interfaces.",{"path":71,"title":70,"description":92},"Render a centered marketing CTA section with an integrated starfield background.",{"path":17,"title":16,"description":94},"Start from templates or install individual components in your Nuxt project.",{"path":11,"title":10,"description":96},"Stackhacker UI is an open-source collection of Nuxt templates and components for the shadcn-vue community.",{"path":59,"title":58,"description":98},"Render an on-page table of contents from app-supplied heading links.",{"path":31,"title":30,"description":100},"Render a tilted photo card with app-owned image data and explicit presentation controls.",{"path":55,"title":54,"description":102},"Render a responsive pricing plan section from app-owned data.",{"path":63,"title":62,"description":104},"Show app-owned AI reasoning text in a compact collapsible disclosure.",[106],{"title":5,"path":6,"stem":7,"children":107,"page":73},[108,112],{"title":10,"path":11,"stem":12,"children":109},[110,111],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},{"title":20,"path":21,"stem":22,"children":113},[114,115,116,117,118,119,120,121,122,123,124,125,126],{"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},[128,130,131,132,134,136,137,138,139,140,141,143,144,145,146],{"path":11,"category":129},"overview",{"path":17,"category":129},{"path":21,"category":129},{"path":27,"category":133},"chat",{"path":31,"category":135},"content",{"path":35,"category":133},{"path":39,"category":133},{"path":43,"category":133},{"path":47,"category":133},{"path":51,"category":135},{"path":55,"category":142},"marketing",{"path":59,"category":135},{"path":63,"category":133},{"path":67,"category":135},{"path":71,"category":142},[148,149,150,151,152,153,154,155,156,157,158,159,160,161,162],{"path":11,"category":129},{"path":17,"category":129},{"path":21,"category":129},{"path":27,"category":133},{"path":31,"category":135},{"path":35,"category":133},{"path":39,"category":133},{"path":43,"category":133},{"path":47,"category":133},{"path":51,"category":135},{"path":55,"category":142},{"path":59,"category":135},{"path":63,"category":133},{"path":67,"category":135},{"path":71,"category":142},{"id":164,"title":50,"body":165,"category":135,"description":90,"extension":505,"meta":506,"navigation":507,"path":51,"seo":508,"stem":52,"__hash__":509},"docs\u002Fdocs\u002F2.components\u002F6.docs-search-modal.md",{"type":166,"value":167,"toc":489},"minimark",[168,172,176,187,191,199,203,209,216,224,227,231,236,238,242,246,412,416,445,449,479,483],[169,170],"component-preview",{"name":171},"DocsSearchModalDemo",[173,174,16],"h2",{"id":175},"installation",[177,178,184],"pre",{"className":179,"code":181,"language":182,"meta":183},[180],"language-bash","npx shadcn-vue@latest add \"https:\u002F\u002Fui.stackhacker.io\u002Fr\u002Fdocs-search-modal.json\"\n","bash","",[185,186,181],"code",{"__ignoreMap":183},[173,188,190],{"id":189},"usage","Usage",[177,192,197],{"className":193,"code":195,"language":196,"meta":183},[194],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { DocsSearchModal, type DocsSearchItem } from '@\u002Fcomponents\u002Fdocs-search-modal'\n\nconst open = ref(false)\n\nconst items: DocsSearchItem[] = [\n  {\n    title: 'Introduction',\n    description: 'Start here to understand the docs structure.',\n    href: '\u002Fdocs\u002Fintroduction',\n    section: 'Getting Started',\n    content: 'overview installation usage'\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cbutton type=\"button\" @click=\"open = true\">\n    Search\n  \u003C\u002Fbutton>\n\n  \u003CDocsSearchModal v-model:open=\"open\" :items=\"items\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[185,198,195],{"__ignoreMap":183},[173,200,202],{"id":201},"app-owned-data","App-Owned Data",[204,205,206,208],"p",{},[185,207,50],{}," owns the modal UI, keyboard shortcut, local filtering, and result rendering boundary. Your app owns the search data.",[204,210,211,212,215],{},"Map static docs, Nuxt Content results, or any other source into ",[185,213,214],{},"DocsSearchItem[]"," before passing it to the component.",[177,217,222],{"className":218,"code":220,"language":221,"meta":183},[219],"language-ts","import type { DocsSearchItem } from '@\u002Fcomponents\u002Fdocs-search-modal'\n\nconst items: DocsSearchItem[] = pages.map(page => ({\n  title: page.title,\n  description: page.description,\n  href: page.path,\n  section: page.category,\n  content: page.bodyText\n}))\n","ts",[185,223,220],{"__ignoreMap":183},[204,225,226],{},"The component intentionally does not crawl pages, query Nuxt Content, call a search provider, rank results, or persist recent searches.",[173,228,230],{"id":229},"examples","Examples",[232,233,235],"h3",{"id":234},"default","Default",[169,237],{"name":171},[173,239,241],{"id":240},"api-reference","API Reference",[232,243,245],{"id":244},"props","Props",[247,248,249,267],"table",{},[250,251,252],"thead",{},[253,254,255,259,262,264],"tr",{},[256,257,258],"th",{},"Prop",[256,260,261],{},"Type",[256,263,235],{},[256,265,266],{},"Description",[268,269,270,290,310,329,348,367,395],"tbody",{},[253,271,272,278,282,287],{},[273,274,275],"td",{},[185,276,277],{},"items",[273,279,280],{},[185,281,214],{},[273,283,284],{},[185,285,286],{},"[]",[273,288,289],{},"Searchable items supplied by your app.",[253,291,292,297,302,307],{},[273,293,294],{},[185,295,296],{},"placeholder",[273,298,299],{},[185,300,301],{},"string",[273,303,304],{},[185,305,306],{},"'Search documentation...'",[273,308,309],{},"Search input placeholder.",[253,311,312,317,321,326],{},[273,313,314],{},[185,315,316],{},"searchLabel",[273,318,319],{},[185,320,301],{},[273,322,323],{},[185,324,325],{},"'Search documentation'",[273,327,328],{},"Accessible label for the dialog and search input.",[253,330,331,336,340,345],{},[273,332,333],{},[185,334,335],{},"emptyText",[273,337,338],{},[185,339,301],{},[273,341,342],{},[185,343,344],{},"'No pages available.'",[273,346,347],{},"Text shown when no query is entered and there are no items.",[253,349,350,355,359,364],{},[273,351,352],{},[185,353,354],{},"noResultsText",[273,356,357],{},[185,358,301],{},[273,360,361],{},[185,362,363],{},"'No results found.'",[273,365,366],{},"Text shown when a query has no matches.",[253,368,369,374,379,384],{},[273,370,371],{},[185,372,373],{},"shortcut",[273,375,376],{},[185,377,378],{},"boolean",[273,380,381],{},[185,382,383],{},"true",[273,385,386,387,390,391,394],{},"Enable ",[185,388,389],{},"Cmd+K"," \u002F ",[185,392,393],{},"Ctrl+K"," to open the modal.",[253,396,397,402,406,409],{},[273,398,399],{},[185,400,401],{},"class",[273,403,404],{},[185,405,301],{},[273,407,408],{},"—",[273,410,411],{},"Additional CSS classes for the modal panel.",[232,413,415],{"id":414},"models","Models",[247,417,418,429],{},[250,419,420],{},[253,421,422,425,427],{},[256,423,424],{},"Model",[256,426,261],{},[256,428,266],{},[268,430,431],{},[253,432,433,438,442],{},[273,434,435],{},[185,436,437],{},"open",[273,439,440],{},[185,441,378],{},[273,443,444],{},"Controls whether the modal is open.",[232,446,448],{"id":447},"slots","Slots",[247,450,451,462],{},[250,452,453],{},[253,454,455,458,460],{},[256,456,457],{},"Slot",[256,459,245],{},[256,461,266],{},[268,463,464],{},[253,465,466,471,476],{},[273,467,468],{},[185,469,470],{},"item",[273,472,473],{},[185,474,475],{},"{ item, query }",[273,477,478],{},"Custom result renderer.",[232,480,482],{"id":481},"types","Types",[177,484,487],{"className":485,"code":486,"language":221,"meta":183},[219],"interface DocsSearchItem {\n  title: string\n  href: string\n  description?: string\n  section?: string\n  content?: string\n}\n",[185,488,486],{"__ignoreMap":183},{"title":183,"searchDepth":490,"depth":490,"links":491},2,[492,493,494,495,499],{"id":175,"depth":490,"text":16},{"id":189,"depth":490,"text":190},{"id":201,"depth":490,"text":202},{"id":229,"depth":490,"text":230,"children":496},[497],{"id":234,"depth":498,"text":235},3,{"id":240,"depth":490,"text":241,"children":500},[501,502,503,504],{"id":244,"depth":498,"text":245},{"id":414,"depth":498,"text":415},{"id":447,"depth":498,"text":448},{"id":481,"depth":498,"text":482},"md",{},true,{"title":50,"description":90},"PrAa06gN3jJafoX_OoQOFi42BIYFo7LJHFKWCvUlPT0",[511,512],{"title":46,"path":47,"stem":48,"children":-1},{"title":54,"path":55,"stem":56,"children":-1},1782454465964]