{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-plan-comparison-included-in-each-plan-1",
  "type": "registry:block",
  "title": "Included in each plan",
  "description": "Billing card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "billing"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/plan-comparison-included-in-each-plan-1.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/plan-comparison-included-in-each-plan-1.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/billing.tsx:444.\nimport { useState } from \"react\";\nimport { SceneCard, Action } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample() {\n  const [yearly] = useState(false);\n  const [selected, setSelected] = useState(\"Studio\");\n  const features = [\n    [\"Active projects\", \"3\", \"Unlimited\", \"Unlimited\"],\n    [\"Asset storage\", \"10 GB\", \"100 GB\", \"500 GB\"],\n    [\"Client review links\", \"Included\", \"Included\", \"Included\"],\n    [\"Team permissions\", \"Basic\", \"Advanced\", \"Advanced\"],\n    [\"Audit history\", \"7 days\", \"90 days\", \"1 year\"],\n    [\"Support\", \"Email\", \"Priority\", \"Dedicated\"],\n  ];\n\n  return (\n    <>\n      <div\n        className=\"overtrue-block-content\"\n        data-workspace-page=\"pricing-table\"\n      >\n        <SceneCard\n          title=\"Included in each plan\"\n          description=\"Prices per seat, per month. Annual billing saves 20%.\"\n        >\n          <div className=\"scene-table-wrap\">\n            <table className=\"scene-table scene-comparison\">\n              <thead>\n                <tr>\n                  <th>Included in your workspace</th>\n                  {[\"Independent\", \"Studio\", \"Collective\"].map((name, i) => (\n                    <th key={name}>\n                      <strong>{name}</strong>\n                      <span>\n                        ${Math.round([12, 29, 59][i] * (yearly ? 0.8 : 1))}\n                      </span>\n                    </th>\n                  ))}\n                </tr>\n              </thead>\n              <tbody>\n                {features.map((row) => (\n                  <tr key={row[0]}>\n                    <th>{row[0]}</th>\n                    {row.slice(1).map((value, i) => (\n                      <td key={i}>{value}</td>\n                    ))}\n                  </tr>\n                ))}\n                <tr>\n                  <td>Choose your plan</td>\n                  {[\"Independent\", \"Studio\", \"Collective\"].map((name) => (\n                    <td key={name}>\n                      <Action\n                        primary={name === \"Studio\"}\n                        onClick={() => setSelected(name)}\n                      >\n                        {selected === name ? \"Selected\" : `Choose ${name}`}\n                      </Action>\n                    </td>\n                  ))}\n                </tr>\n              </tbody>\n            </table>\n          </div>\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/plan-comparison-included-in-each-plan-1. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
