[{"data":1,"prerenderedAt":504},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":70,"navigation":99,"mobile-docs-page-meta":120,"docs-pages-category":139,"\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal":154,"surround-\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal":501},[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":46,"body":156,"category":132,"description":86,"extension":496,"meta":497,"navigation":498,"path":47,"seo":499,"stem":48,"__hash__":500},"docs\u002Fdocs\u002F2.components\u002F6.docs-search-modal.md",{"type":157,"value":158,"toc":480},"minimark",[159,163,167,178,182,190,194,200,207,215,218,222,227,229,233,237,403,407,436,440,470,474],[160,161],"component-preview",{"name":162},"DocsSearchModalDemo",[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\u002Fdocs-search-modal.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 { 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",[176,189,186],{"__ignoreMap":174},[164,191,193],{"id":192},"app-owned-data","App-Owned Data",[195,196,197,199],"p",{},[176,198,46],{}," owns the modal UI, keyboard shortcut, local filtering, and result rendering boundary. Your app owns the search data.",[195,201,202,203,206],{},"Map static docs, Nuxt Content results, or any other source into ",[176,204,205],{},"DocsSearchItem[]"," before passing it to the component.",[168,208,213],{"className":209,"code":211,"language":212,"meta":174},[210],"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",[176,214,211],{"__ignoreMap":174},[195,216,217],{},"The component intentionally does not crawl pages, query Nuxt Content, call a search provider, rank results, or persist recent searches.",[164,219,221],{"id":220},"examples","Examples",[223,224,226],"h3",{"id":225},"default","Default",[160,228],{"name":162},[164,230,232],{"id":231},"api-reference","API Reference",[223,234,236],{"id":235},"props","Props",[238,239,240,258],"table",{},[241,242,243],"thead",{},[244,245,246,250,253,255],"tr",{},[247,248,249],"th",{},"Prop",[247,251,252],{},"Type",[247,254,226],{},[247,256,257],{},"Description",[259,260,261,281,301,320,339,358,386],"tbody",{},[244,262,263,269,273,278],{},[264,265,266],"td",{},[176,267,268],{},"items",[264,270,271],{},[176,272,205],{},[264,274,275],{},[176,276,277],{},"[]",[264,279,280],{},"Searchable items supplied by your app.",[244,282,283,288,293,298],{},[264,284,285],{},[176,286,287],{},"placeholder",[264,289,290],{},[176,291,292],{},"string",[264,294,295],{},[176,296,297],{},"'Search documentation...'",[264,299,300],{},"Search input placeholder.",[244,302,303,308,312,317],{},[264,304,305],{},[176,306,307],{},"searchLabel",[264,309,310],{},[176,311,292],{},[264,313,314],{},[176,315,316],{},"'Search documentation'",[264,318,319],{},"Accessible label for the dialog and search input.",[244,321,322,327,331,336],{},[264,323,324],{},[176,325,326],{},"emptyText",[264,328,329],{},[176,330,292],{},[264,332,333],{},[176,334,335],{},"'No pages available.'",[264,337,338],{},"Text shown when no query is entered and there are no items.",[244,340,341,346,350,355],{},[264,342,343],{},[176,344,345],{},"noResultsText",[264,347,348],{},[176,349,292],{},[264,351,352],{},[176,353,354],{},"'No results found.'",[264,356,357],{},"Text shown when a query has no matches.",[244,359,360,365,370,375],{},[264,361,362],{},[176,363,364],{},"shortcut",[264,366,367],{},[176,368,369],{},"boolean",[264,371,372],{},[176,373,374],{},"true",[264,376,377,378,381,382,385],{},"Enable ",[176,379,380],{},"Cmd+K"," \u002F ",[176,383,384],{},"Ctrl+K"," to open the modal.",[244,387,388,393,397,400],{},[264,389,390],{},[176,391,392],{},"class",[264,394,395],{},[176,396,292],{},[264,398,399],{},"—",[264,401,402],{},"Additional CSS classes for the modal panel.",[223,404,406],{"id":405},"models","Models",[238,408,409,420],{},[241,410,411],{},[244,412,413,416,418],{},[247,414,415],{},"Model",[247,417,252],{},[247,419,257],{},[259,421,422],{},[244,423,424,429,433],{},[264,425,426],{},[176,427,428],{},"open",[264,430,431],{},[176,432,369],{},[264,434,435],{},"Controls whether the modal is open.",[223,437,439],{"id":438},"slots","Slots",[238,441,442,453],{},[241,443,444],{},[244,445,446,449,451],{},[247,447,448],{},"Slot",[247,450,236],{},[247,452,257],{},[259,454,455],{},[244,456,457,462,467],{},[264,458,459],{},[176,460,461],{},"item",[264,463,464],{},[176,465,466],{},"{ item, query }",[264,468,469],{},"Custom result renderer.",[223,471,473],{"id":472},"types","Types",[168,475,478],{"className":476,"code":477,"language":212,"meta":174},[210],"interface DocsSearchItem {\n  title: string\n  href: string\n  description?: string\n  section?: string\n  content?: string\n}\n",[176,479,477],{"__ignoreMap":174},{"title":174,"searchDepth":481,"depth":481,"links":482},2,[483,484,485,486,490],{"id":166,"depth":481,"text":16},{"id":180,"depth":481,"text":181},{"id":192,"depth":481,"text":193},{"id":220,"depth":481,"text":221,"children":487},[488],{"id":225,"depth":489,"text":226},3,{"id":231,"depth":481,"text":232,"children":491},[492,493,494,495],{"id":235,"depth":489,"text":236},{"id":405,"depth":489,"text":406},{"id":438,"depth":489,"text":439},{"id":472,"depth":489,"text":473},"md",{},true,{"title":46,"description":86},"PrAa06gN3jJafoX_OoQOFi42BIYFo7LJHFKWCvUlPT0",[502,503],{"title":42,"path":43,"stem":44,"children":-1},{"title":50,"path":51,"stem":52,"children":-1},1782382663280]