[{"data":1,"prerenderedAt":464},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":86,"navigation":123,"mobile-docs-page-meta":148,"docs-pages-category":171,"\u002Fdocs\u002Fcomponents\u002Fmetrics-grid":190,"surround-\u002Fdocs\u002Fcomponents\u002Fmetrics-grid":461},[4],{"title":5,"path":6,"stem":7,"children":8,"page":85},"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],{"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},"ChatMessage","\u002Fdocs\u002Fcomponents\u002Fchat-message","docs\u002F2.components\u002F2.chat-message",{"title":50,"path":51,"stem":52},"ChatMessages","\u002Fdocs\u002Fcomponents\u002Fchat-messages","docs\u002F2.components\u002F3.chat-messages",{"title":54,"path":55,"stem":56},"ChatPrompt","\u002Fdocs\u002Fcomponents\u002Fchat-prompt","docs\u002F2.components\u002F4.chat-prompt",{"title":58,"path":59,"stem":60},"ChatPromptSubmit","\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit","docs\u002F2.components\u002F5.chat-prompt-submit",{"title":62,"path":63,"stem":64},"DocsSearchModal","\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal","docs\u002F2.components\u002F6.docs-search-modal",{"title":66,"path":67,"stem":68},"PricingPlans","\u002Fdocs\u002Fcomponents\u002Fpricing-plans","docs\u002F2.components\u002F7.pricing-plans",{"title":70,"path":71,"stem":72},"PageToc","\u002Fdocs\u002Fcomponents\u002Fpage-toc","docs\u002F2.components\u002F8.page-toc",{"title":74,"path":75,"stem":76},"ReasoningDisclosure","\u002Fdocs\u002Fcomponents\u002Freasoning-disclosure","docs\u002F2.components\u002F8.reasoning-disclosure",{"title":78,"path":79,"stem":80},"DocsPager","\u002Fdocs\u002Fcomponents\u002Fdocs-pager","docs\u002F2.components\u002F9.docs-pager",{"title":82,"path":83,"stem":84},"HomeCta","\u002Fdocs\u002Fcomponents\u002Fhome-cta","docs\u002F2.components\u002F9.home-cta",false,[87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121],{"path":39,"title":38,"description":88},"Render a release timeline from app-owned changelog data with optional rich body slots.",{"path":27,"title":26,"description":90},"Build Nuxt chat interfaces with installable shadcn-vue components you own and compose.",{"path":47,"title":46,"description":92},"Render an individual chat message bubble with AI SDK parts, actions, and layout control.",{"path":51,"title":50,"description":94},"Compose chat message lists with scrolling behavior, loading states, and action-ready assistant output.",{"path":55,"title":54,"description":96},"Build chat input flows with an auto-resizing prompt, keyboard shortcuts, and flexible slot composition.",{"path":59,"title":58,"description":98},"Handle chat submit, stop, and retry actions with a status-aware control for prompt workflows.",{"path":21,"title":20,"description":100},"Explore reusable components that complement Nuxt templates and real app workflows.",{"path":79,"title":78,"description":102},"Render previous and next documentation links from app-owned page data.",{"path":63,"title":62,"description":104},"Add a lightweight local search modal to Nuxt documentation interfaces.",{"path":35,"title":34,"description":106},"Render a reusable feature, content, or navigation card with optional link and icon slot.",{"path":83,"title":82,"description":108},"Render a centered marketing CTA section with an integrated starfield background.",{"path":17,"title":16,"description":110},"Start from templates or install individual components in your Nuxt project.",{"path":11,"title":10,"description":112},"Stackhacker UI is an open-source collection of Nuxt templates and components for the shadcn-vue community.",{"path":43,"title":42,"description":114},"Render a responsive marketing metrics section from app-owned data.",{"path":71,"title":70,"description":116},"Render an on-page table of contents from app-supplied heading links.",{"path":31,"title":30,"description":118},"Render a tilted photo card with app-owned image data and explicit presentation controls.",{"path":67,"title":66,"description":120},"Render a responsive pricing plan section from app-owned data.",{"path":75,"title":74,"description":122},"Show app-owned AI reasoning text in a compact collapsible disclosure.",[124],{"title":5,"path":6,"stem":7,"children":125,"page":85},[126,130],{"title":10,"path":11,"stem":12,"children":127},[128,129],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},{"title":20,"path":21,"stem":22,"children":131},[132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147],{"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},[149,151,152,153,155,157,159,160,161,162,163,164,165,166,167,168,169,170],{"path":11,"category":150},"overview",{"path":17,"category":150},{"path":21,"category":150},{"path":27,"category":154},"chat",{"path":31,"category":156},"content",{"path":35,"category":158},"marketing",{"path":39,"category":156},{"path":43,"category":158},{"path":47,"category":154},{"path":51,"category":154},{"path":55,"category":154},{"path":59,"category":154},{"path":63,"category":156},{"path":67,"category":158},{"path":71,"category":156},{"path":75,"category":154},{"path":79,"category":156},{"path":83,"category":158},[172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189],{"path":11,"category":150},{"path":17,"category":150},{"path":21,"category":150},{"path":27,"category":154},{"path":31,"category":156},{"path":35,"category":158},{"path":39,"category":156},{"path":43,"category":158},{"path":47,"category":154},{"path":51,"category":154},{"path":55,"category":154},{"path":59,"category":154},{"path":63,"category":156},{"path":67,"category":158},{"path":71,"category":156},{"path":75,"category":154},{"path":79,"category":156},{"path":83,"category":158},{"id":191,"title":42,"body":192,"category":158,"description":114,"extension":456,"meta":457,"navigation":458,"path":43,"seo":459,"stem":44,"__hash__":460},"docs\u002Fdocs\u002F2.components\u002F13.metrics-grid.md",{"type":193,"value":194,"toc":442},"minimark",[195,199,203,214,218,226,230,236,259,263,268,270,274,278,430,434],[196,197],"component-preview",{"name":198},"MetricsGridDemo",[200,201,16],"h2",{"id":202},"installation",[204,205,211],"pre",{"className":206,"code":208,"language":209,"meta":210},[207],"language-bash","npx shadcn-vue@latest add \"https:\u002F\u002Fui.stackhacker.io\u002Fr\u002Fmetrics-grid.json\"\n","bash","",[212,213,208],"code",{"__ignoreMap":210},[200,215,217],{"id":216},"usage","Usage",[204,219,224],{"className":220,"code":222,"language":223,"meta":210},[221],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { MetricsGrid, type MetricsGridItem } from '@\u002Fcomponents\u002Fmetrics-grid'\n\nconst metrics: MetricsGridItem[] = [\n  {\n    value: '42%',\n    label: 'Activation lift',\n    description: 'More teams reach their first successful workflow.',\n    tone: 'primary'\n  },\n  {\n    value: '\u003C 90s',\n    label: 'Median response',\n    description: 'Support queues stay fast during launches.',\n    tone: 'success'\n  },\n  {\n    value: '12k+',\n    label: 'Accounts monitored',\n    description: 'Usage and health signals roll into one view.',\n    tone: 'warning'\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMetricsGrid\n    headline=\"Growth signals\"\n    title=\"A compact proof section for product momentum\"\n    description=\"Show formatted metrics from your app without moving analytics into the block.\"\n    :items=\"metrics\"\n  \u002F>\n\u003C\u002Ftemplate>\n","vue",[212,225,222],{"__ignoreMap":210},[200,227,229],{"id":228},"app-owned-metrics","App-Owned Metrics",[231,232,233,235],"p",{},[212,234,42],{}," renders the values you pass in. Your app owns data loading, number formatting, localization, analytics, animation, and any metric definitions.",[231,237,238,239,242,243,246,247,250,251,254,255,258],{},"Pass formatted strings such as ",[212,240,241],{},"42%",", ",[212,244,245],{},"\u003C 90s",", or ",[212,248,249],{},"12k+"," through ",[212,252,253],{},"items[].value",". Use ",[212,256,257],{},"tone"," for constrained visual emphasis instead of passing raw Tailwind classes through metric data.",[200,260,262],{"id":261},"examples","Examples",[264,265,267],"h3",{"id":266},"cards","Cards",[196,269],{"name":198},[200,271,273],{"id":272},"api-reference","API Reference",[264,275,277],{"id":276},"props","Props",[279,280,281,300],"table",{},[282,283,284],"thead",{},[285,286,287,291,294,297],"tr",{},[288,289,290],"th",{},"Prop",[288,292,293],{},"Type",[288,295,296],{},"Default",[288,298,299],{},"Description",[301,302,303,322,338,354,374,394,414],"tbody",{},[285,304,305,311,316,319],{},[306,307,308],"td",{},[212,309,310],{},"headline",[306,312,313],{},[212,314,315],{},"string",[306,317,318],{},"—",[306,320,321],{},"Optional eyebrow shown above the title.",[285,323,324,329,333,335],{},[306,325,326],{},[212,327,328],{},"title",[306,330,331],{},[212,332,315],{},[306,334,318],{},[306,336,337],{},"Optional section title.",[285,339,340,345,349,351],{},[306,341,342],{},[212,343,344],{},"description",[306,346,347],{},[212,348,315],{},[306,350,318],{},[306,352,353],{},"Optional supporting section copy.",[285,355,356,361,366,371],{},[306,357,358],{},[212,359,360],{},"items",[306,362,363],{},[212,364,365],{},"MetricsGridItem[] | null",[306,367,368],{},[212,369,370],{},"[]",[306,372,373],{},"Metrics supplied by your app.",[285,375,376,381,386,391],{},[306,377,378],{},[212,379,380],{},"columns",[306,382,383],{},[212,384,385],{},"2 | 3 | 4",[306,387,388],{},[212,389,390],{},"4",[306,392,393],{},"Maximum column count on large screens.",[285,395,396,401,406,411],{},[306,397,398],{},[212,399,400],{},"variant",[306,402,403],{},[212,404,405],{},"'default' | 'cards'",[306,407,408],{},[212,409,410],{},"'default'",[306,412,413],{},"Visual treatment for metric cards.",[285,415,416,421,425,427],{},[306,417,418],{},[212,419,420],{},"class",[306,422,423],{},[212,424,315],{},[306,426,318],{},[306,428,429],{},"Additional CSS classes for the section.",[264,431,433],{"id":432},"types","Types",[204,435,440],{"className":436,"code":438,"language":439,"meta":210},[437],"language-ts","interface MetricsGridItem {\n  id?: string\n  value: string\n  label: string\n  description?: string\n  tone?: 'default' | 'primary' | 'success' | 'warning' | 'muted'\n}\n","ts",[212,441,438],{"__ignoreMap":210},{"title":210,"searchDepth":443,"depth":443,"links":444},2,[445,446,447,448,452],{"id":202,"depth":443,"text":16},{"id":216,"depth":443,"text":217},{"id":228,"depth":443,"text":229},{"id":261,"depth":443,"text":262,"children":449},[450],{"id":266,"depth":451,"text":267},3,{"id":272,"depth":443,"text":273,"children":453},[454,455],{"id":276,"depth":451,"text":277},{"id":432,"depth":451,"text":433},"md",{},true,{"title":42,"description":114},"GqJjEIT3e_rxZzRznjSrHVITlbqmGbD7Vymj7rL2C04",[462,463],{"title":38,"path":39,"stem":40,"children":-1},{"title":46,"path":47,"stem":48,"children":-1},1782555895573]