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