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