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