{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-plans-plans-1-1",
  "type": "registry:block",
  "title": "Pricing plans",
  "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/plans-plans-1-1.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/plans-plans-1-1.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/billing.tsx:361.\nimport { useState } from \"react\";\nimport { SceneCard, Pill, Action } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample({ id = \"pricing\" }: { id?: string } = {}) {\n  const [period] = useState(\"Monthly\");\n  const [chosen, setChosen] = useState(\"Studio\");\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page={id}>\n        <div className=\"scene-plan-grid\">\n          {[\n            {\n              name: \"Independent\",\n              price: 12,\n              for: \"A focused home for solo work.\",\n              features: [\n                \"3 active projects\",\n                \"10 GB asset storage\",\n                \"Unlimited client review links\",\n                \"Email support\",\n              ],\n            },\n            {\n              name: \"Studio\",\n              price: 29,\n              for: \"For small teams doing ambitious work.\",\n              features: [\n                \"Unlimited projects\",\n                \"100 GB asset storage\",\n                \"Team permissions & approvals\",\n                \"Priority support\",\n              ],\n            },\n            {\n              name: \"Collective\",\n              price: 59,\n              for: \"Shared standards across growing teams.\",\n              features: [\n                \"Multiple workspaces\",\n                \"500 GB asset storage\",\n                \"Audit logs & advanced controls\",\n                \"Dedicated onboarding\",\n              ],\n            },\n          ].map((plan) => (\n            <SceneCard\n              className={plan.name === \"Studio\" ? \"scene-featured-plan\" : \"\"}\n              key={plan.name}\n            >\n              <div className=\"scene-toolbar\">\n                <h2>{plan.name}</h2>\n                {plan.name === \"Studio\" && <Pill>Popular</Pill>}\n              </div>\n              <p>{plan.for}</p>\n              <div className=\"scene-price\">\n                ${Math.round(plan.price * (period === \"Yearly\" ? 0.8 : 1))}\n                <span>/ seat / month</span>\n              </div>\n              <small>\n                {period === \"Yearly\"\n                  ? \"Billed yearly · save 20%\"\n                  : \"Billed monthly\"}\n              </small>\n              <ul className=\"scene-plan-features\">\n                {plan.features.map((f) => (\n                  <li key={f}>{f}</li>\n                ))}\n              </ul>\n              <Action\n                primary={plan.name === \"Studio\"}\n                onClick={() => setChosen(plan.name)}\n              >\n                {chosen === plan.name ? \"Selected plan\" : \"Choose \" + plan.name}\n              </Action>\n            </SceneCard>\n          ))}\n        </div>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/plans-plans-1-1. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
