{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "plan-fit-audience-demo",
  "type": "registry:block",
  "title": "Plan Fit: Capped Tiers",
  "description": "Usage-Based Pricing Slider example, Capped Tiers: A newsletter tool priced by list size, where each plan stops at its cap and the next one takes over. A take on the range slider (range input) and pricing table (pricing cards). Fits pricing and CTA sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "pricing",
    "cta",
    "range-slider",
    "pricing-table",
    "interaction",
    "data"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/plan-fit#plan-fit-audience-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/plan-fit.json"
  ],
  "files": [
    {
      "path": "components/plan-fit-audience-demo.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport { PlanFit, type PlanFitPlan } from \"@/components/ui/plan-fit\";\n\n// A newsletter tool priced by list size. No overage: each plan stops at its\n// cap, so a plan the list has outgrown fades and the next one takes over.\nconst PLANS: PlanFitPlan[] = [\n  {\n    id: \"starter\",\n    name: \"Starter\",\n    pitch: \"Your first issue, and the hundred after it.\",\n    price: 0,\n    included: 1000,\n    caption: \"Free forever\",\n    features: [\"Unlimited sends\", \"Signup forms\", \"Tinta badge in the footer\"],\n    cta: { label: \"Start writing\", href: \"#start\" },\n  },\n  {\n    id: \"creator\",\n    name: \"Creator\",\n    pitch: \"For writers turning readers into a business.\",\n    price: 15,\n    included: 10000,\n    caption: \"Billed monthly\",\n    features: [\"Paid subscriptions\", \"Your own domain\", \"Referral rewards\"],\n    cta: { label: \"Go Creator\", href: \"#creator\" },\n  },\n  {\n    id: \"publisher\",\n    name: \"Publisher\",\n    pitch: \"For a masthead with editors and sponsors.\",\n    price: 59,\n    included: 50000,\n    caption: \"Billed monthly\",\n    features: [\"Five editor seats\", \"Sponsor slots\", \"Priority sending\"],\n    cta: { label: \"Go Publisher\", href: \"#publisher\" },\n  },\n];\n\nexport function PlanFitAudienceDemo() {\n  return (\n    <div className=\"w-full max-w-4xl\">\n      <PlanFit\n        plans={PLANS}\n        unit=\"subscribers\"\n        readoutLabel=\"readers on your list\"\n        defaultValue={2400}\n        period=\"/mo\"\n        fitLabel=\"Your plan\"\n        className=\"[--plan-fit-accent-ink:#ffffff] [--plan-fit-accent:#2f5bff] dark:[--plan-fit-accent-ink:#ffffff] dark:[--plan-fit-accent:#5b7cff]\"\n      />\n    </div>\n  );\n}\n"
    }
  ]
}