{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-HighOrderPage-pricing-card-pricing-table-auth-layout-12",
  "type": "registry:block",
  "title": "Pricing and sign-in patterns",
  "description": "UI patterns card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "ui-patterns"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/HighOrderPage-pricing-card-pricing-table-auth-layout-12.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/HighOrderPage-pricing-card-pricing-table-auth-layout-12.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/pages/HighOrderPage.tsx:653.\nimport { useState } from \"react\";\nimport { SectionCard } from \"./runtime/components/overtrue/section-card\";\nimport { PricingCard } from \"./runtime/components/overtrue/pricing-card\";\nimport { AuthLayout } from \"./runtime/components/overtrue/auth-layout\";\nimport { PricingTable } from \"./runtime/components/overtrue/pricing-table\";\n\nfunction CardExample() {\n  const [selectedPlan, setSelectedPlan] = useState(\"\");\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page=\"high-order\">\n        <SectionCard title=\"PricingCard / PricingTable / AuthLayout\">\n          {selectedPlan && (\n            <p\n              role=\"status\"\n              className=\"mb-4 rounded-md bg-primary/10 p-3 text-sm text-primary\"\n            >\n              {selectedPlan} plan selected for this preview. No billing changes\n              were made.\n            </p>\n          )}\n          <div className=\"mb-4 grid grid-cols-1 gap-3 md:grid-cols-3\">\n            <PricingCard\n              name=\"Free\"\n              onChoose={() => setSelectedPlan(\"Free\")}\n              price=\"$0\"\n              cta=\"Choose plan\"\n              features={[\"3 Users\", \"Sharing Tools\", \"Design Tools\"]}\n            />\n            <PricingCard\n              name=\"Premium\"\n              onChoose={() => setSelectedPlan(\"Premium\")}\n              price=\"$49\"\n              highlighted\n              cta=\"Choose plan\"\n              features={[\n                \"10 Users\",\n                \"Sharing Tools\",\n                \"Design Tools\",\n                \"Private Messages\",\n              ]}\n            />\n            <PricingCard\n              name=\"Enterprise\"\n              onChoose={() => setSelectedPlan(\"Enterprise\")}\n              price=\"$99\"\n              cta=\"Choose plan\"\n              features={[\n                \"100 Users\",\n                \"Sharing Tools\",\n                \"Design Tools\",\n                \"Twitter API\",\n              ]}\n            />\n          </div>\n          <PricingTable\n            className=\"mb-4\"\n            featureLabels={[\"Projects\", \"Support\", \"Theme customizer\"]}\n            tiers={[\n              {\n                name: \"Free\",\n                price: \"$0\",\n                features: [\"1\", \"Community\", false],\n                onChoose: () => setSelectedPlan(\"Free\"),\n              },\n              {\n                name: \"Pro\",\n                onChoose: () => setSelectedPlan(\"Pro\"),\n                price: \"$29\",\n                highlighted: true,\n                features: [\"Unlimited\", \"Priority\", true],\n              },\n            ]}\n          />\n          <div className=\"rounded-md border border-border bg-muted p-6\">\n            <div className=\"mx-auto max-w-sm\">\n              <AuthLayout embedded title=\"Login to your account\">\n                <div className=\"text-sm text-muted-foreground\">\n                  Children slot — auth pages pass form fields here (no AppShell\n                  sidebar).\n                </div>\n              </AuthLayout>\n            </div>\n          </div>\n        </SectionCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/HighOrderPage-pricing-card-pricing-table-auth-layout-12. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
