[{"data":1,"prerenderedAt":388},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":82,"navigation":117,"mobile-docs-page-meta":141,"docs-pages-category":163,"\u002Fdocs\u002Fcomponents\u002Fpricing-plans":181,"surround-\u002Fdocs\u002Fcomponents\u002Fpricing-plans":385},[4],{"title":5,"path":6,"stem":7,"children":8,"page":81},"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],{"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},"ChatMessage","\u002Fdocs\u002Fcomponents\u002Fchat-message","docs\u002F2.components\u002F2.chat-message",{"title":46,"path":47,"stem":48},"ChatMessages","\u002Fdocs\u002Fcomponents\u002Fchat-messages","docs\u002F2.components\u002F3.chat-messages",{"title":50,"path":51,"stem":52},"ChatPrompt","\u002Fdocs\u002Fcomponents\u002Fchat-prompt","docs\u002F2.components\u002F4.chat-prompt",{"title":54,"path":55,"stem":56},"ChatPromptSubmit","\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit","docs\u002F2.components\u002F5.chat-prompt-submit",{"title":58,"path":59,"stem":60},"DocsSearchModal","\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal","docs\u002F2.components\u002F6.docs-search-modal",{"title":62,"path":63,"stem":64},"PricingPlans","\u002Fdocs\u002Fcomponents\u002Fpricing-plans","docs\u002F2.components\u002F7.pricing-plans",{"title":66,"path":67,"stem":68},"PageToc","\u002Fdocs\u002Fcomponents\u002Fpage-toc","docs\u002F2.components\u002F8.page-toc",{"title":70,"path":71,"stem":72},"ReasoningDisclosure","\u002Fdocs\u002Fcomponents\u002Freasoning-disclosure","docs\u002F2.components\u002F8.reasoning-disclosure",{"title":74,"path":75,"stem":76},"DocsPager","\u002Fdocs\u002Fcomponents\u002Fdocs-pager","docs\u002F2.components\u002F9.docs-pager",{"title":78,"path":79,"stem":80},"HomeCta","\u002Fdocs\u002Fcomponents\u002Fhome-cta","docs\u002F2.components\u002F9.home-cta",false,[83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115],{"path":39,"title":38,"description":84},"Render a release timeline from app-owned changelog data with optional rich body slots.",{"path":27,"title":26,"description":86},"Build Nuxt chat interfaces with installable shadcn-vue components you own and compose.",{"path":43,"title":42,"description":88},"Render an individual chat message bubble with AI SDK parts, actions, and layout control.",{"path":47,"title":46,"description":90},"Compose chat message lists with scrolling behavior, loading states, and action-ready assistant output.",{"path":51,"title":50,"description":92},"Build chat input flows with an auto-resizing prompt, keyboard shortcuts, and flexible slot composition.",{"path":55,"title":54,"description":94},"Handle chat submit, stop, and retry actions with a status-aware control for prompt workflows.",{"path":21,"title":20,"description":96},"Explore reusable components that complement Nuxt templates and real app workflows.",{"path":75,"title":74,"description":98},"Render previous and next documentation links from app-owned page data.",{"path":59,"title":58,"description":100},"Add a lightweight local search modal to Nuxt documentation interfaces.",{"path":35,"title":34,"description":102},"Render a reusable feature, content, or navigation card with optional link and icon slot.",{"path":79,"title":78,"description":104},"Render a centered marketing CTA section with an integrated starfield background.",{"path":17,"title":16,"description":106},"Start from templates or install individual components in your Nuxt project.",{"path":11,"title":10,"description":108},"Stackhacker UI is an open-source collection of Nuxt templates and components for the shadcn-vue community.",{"path":67,"title":66,"description":110},"Render an on-page table of contents from app-supplied heading links.",{"path":31,"title":30,"description":112},"Render a tilted photo card with app-owned image data and explicit presentation controls.",{"path":63,"title":62,"description":114},"Render a responsive pricing plan section from app-owned data.",{"path":71,"title":70,"description":116},"Show app-owned AI reasoning text in a compact collapsible disclosure.",[118],{"title":5,"path":6,"stem":7,"children":119,"page":81},[120,124],{"title":10,"path":11,"stem":12,"children":121},[122,123],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},{"title":20,"path":21,"stem":22,"children":125},[126,127,128,129,130,131,132,133,134,135,136,137,138,139,140],{"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},[142,144,145,146,148,150,152,153,154,155,156,157,158,159,160,161,162],{"path":11,"category":143},"overview",{"path":17,"category":143},{"path":21,"category":143},{"path":27,"category":147},"chat",{"path":31,"category":149},"content",{"path":35,"category":151},"marketing",{"path":39,"category":149},{"path":43,"category":147},{"path":47,"category":147},{"path":51,"category":147},{"path":55,"category":147},{"path":59,"category":149},{"path":63,"category":151},{"path":67,"category":149},{"path":71,"category":147},{"path":75,"category":149},{"path":79,"category":151},[164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180],{"path":11,"category":143},{"path":17,"category":143},{"path":21,"category":143},{"path":27,"category":147},{"path":31,"category":149},{"path":35,"category":151},{"path":39,"category":149},{"path":43,"category":147},{"path":47,"category":147},{"path":51,"category":147},{"path":55,"category":147},{"path":59,"category":149},{"path":63,"category":151},{"path":67,"category":149},{"path":71,"category":147},{"path":75,"category":149},{"path":79,"category":151},{"id":182,"title":62,"body":183,"category":151,"description":114,"extension":380,"meta":381,"navigation":382,"path":63,"seo":383,"stem":64,"__hash__":384},"docs\u002Fdocs\u002F2.components\u002F7.pricing-plans.md",{"type":184,"value":185,"toc":366},"minimark",[186,190,194,205,209,217,221,227,234,238,243,245,249,253,354,358],[187,188],"component-preview",{"name":189},"PricingPlansDemo",[191,192,16],"h2",{"id":193},"installation",[195,196,202],"pre",{"className":197,"code":199,"language":200,"meta":201},[198],"language-bash","npx shadcn-vue@latest add \"https:\u002F\u002Fui.stackhacker.io\u002Fr\u002Fpricing-plans.json\"\n","bash","",[203,204,199],"code",{"__ignoreMap":201},[191,206,208],{"id":207},"usage","Usage",[195,210,215],{"className":211,"code":213,"language":214,"meta":201},[212],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { PricingPlans, type PricingPlan } from '@\u002Fcomponents\u002Fpricing-plans'\n\nconst billingPeriod = ref\u003C'month' | 'year'>('month')\n\nconst plans: PricingPlan[] = [\n  {\n    title: 'Basic',\n    description: 'For solo builders.',\n    price: { month: '$9', year: '$90' },\n    cta: { label: 'Get started', href: '\u002Fsignup' },\n    features: ['1 workspace', 'Core analytics', 'Community support']\n  },\n  {\n    title: 'Standard',\n    description: 'For small teams.',\n    price: { month: '$19', year: '$190' },\n    cta: { label: 'Get started', href: '\u002Fsignup' },\n    features: ['5 workspaces', 'Priority analytics', 'Email support'],\n    highlight: true\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CPricingPlans :plans=\"plans\" :billing-period=\"billingPeriod\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[203,216,213],{"__ignoreMap":201},[191,218,220],{"id":219},"app-owned-billing","App-Owned Billing",[222,223,224,226],"p",{},[203,225,62],{}," renders pricing cards from the data you pass in. Your app owns billing periods, checkout links, auth, subscription state, and any pricing data source.",[222,228,229,230,233],{},"Use the ",[203,231,232],{},"billingPeriod"," prop to decide which price label to show. Keep monthly\u002Fyearly toggles, billing-provider integration, and account logic outside the component.",[191,235,237],{"id":236},"examples","Examples",[239,240,242],"h3",{"id":241},"default","Default",[187,244],{"name":189},[191,246,248],{"id":247},"api-reference","API Reference",[239,250,252],{"id":251},"props","Props",[254,255,256,274],"table",{},[257,258,259],"thead",{},[260,261,262,266,269,271],"tr",{},[263,264,265],"th",{},"Prop",[263,267,268],{},"Type",[263,270,242],{},[263,272,273],{},"Description",[275,276,277,298,317,337],"tbody",{},[260,278,279,285,290,295],{},[280,281,282],"td",{},[203,283,284],{},"plans",[280,286,287],{},[203,288,289],{},"PricingPlan[]",[280,291,292],{},[203,293,294],{},"[]",[280,296,297],{},"Pricing plans supplied by your app.",[260,299,300,304,309,314],{},[280,301,302],{},[203,303,232],{},[280,305,306],{},[203,307,308],{},"'month' | 'year'",[280,310,311],{},[203,312,313],{},"'month'",[280,315,316],{},"Selected price period to render.",[260,318,319,324,329,334],{},[280,320,321],{},[203,322,323],{},"highlightLabel",[280,325,326],{},[203,327,328],{},"string",[280,330,331],{},[203,332,333],{},"'Popular'",[280,335,336],{},"Label shown on highlighted plans. Use an empty string to hide it.",[260,338,339,344,348,351],{},[280,340,341],{},[203,342,343],{},"class",[280,345,346],{},[203,347,328],{},[280,349,350],{},"—",[280,352,353],{},"Additional CSS classes for the section.",[239,355,357],{"id":356},"types","Types",[195,359,364],{"className":360,"code":362,"language":363,"meta":201},[361],"language-ts","interface PricingPlan {\n  title: string\n  description: string\n  price: PricingPlanPrice\n  cta: PricingPlanCta\n  features: string[]\n  highlight?: boolean\n}\n\ninterface PricingPlanPrice {\n  month: string\n  year: string\n}\n\ninterface PricingPlanCta {\n  label: string\n  href: string\n}\n","ts",[203,365,362],{"__ignoreMap":201},{"title":201,"searchDepth":367,"depth":367,"links":368},2,[369,370,371,372,376],{"id":193,"depth":367,"text":16},{"id":207,"depth":367,"text":208},{"id":219,"depth":367,"text":220},{"id":236,"depth":367,"text":237,"children":373},[374],{"id":241,"depth":375,"text":242},3,{"id":247,"depth":367,"text":248,"children":377},[378,379],{"id":251,"depth":375,"text":252},{"id":356,"depth":375,"text":357},"md",{},true,{"title":62,"description":114},"diyzU9D-Z2gDbr14mQM33iAPI0njm9jReV2i_PAg8m4",[386,387],{"title":58,"path":59,"stem":60,"children":-1},{"title":66,"path":67,"stem":68,"children":-1},1782544830328]