{
  "generatedFrom": "src/templates/templateRegistry.ts",
  "generatedDate": "2026-09-02",
  "note": "Templates are source-owned compositions built only from registered Crossroads components.",
  "packageImport": "@crossroads/ui/templates",
  "summary": {
    "byIntent": {
      "takeover": 1,
      "content": 1,
      "confirmation": 1,
      "system-notice": 1
    },
    "ready": 3,
    "total": 4
  },
  "templates": [
    {
      "id": "sign-in",
      "exportName": "SignIn",
      "name": "Sign in",
      "description": "Centered authentication card with email and password, inline error, and a route to account recovery.",
      "prompt": "Build a sign-in page with email, password, and a forgot-password link.",
      "components": [
        "Surface",
        "Stack",
        "TextField",
        "Button",
        "Link",
        "Alert",
        "Divider"
      ],
      "surfaceIntent": "takeover",
      "sandboxSupport": "inline",
      "status": "ready",
      "tier": "starter",
      "sourcePath": "src/templates/SignIn/SignIn.tsx",
      "storyPath": "?path=/story/templates-sign-in--default"
    },
    {
      "id": "pricing-plans",
      "exportName": "PricingPlans",
      "name": "Pricing plans",
      "description": "Three-tier plan selection with a billing-period toggle and a highlighted recommended plan.",
      "prompt": "Build a pricing page with three plans and a monthly/yearly toggle.",
      "components": [
        "SelectableCard",
        "SegmentedControl",
        "Badge",
        "Button",
        "Stack",
        "Text",
        "Heading"
      ],
      "surfaceIntent": "content",
      "sandboxSupport": "inline",
      "status": "ready",
      "tier": "starter",
      "sourcePath": "src/templates/PricingPlans/PricingPlans.tsx",
      "storyPath": "?path=/story/templates-pricing-plans--default"
    },
    {
      "id": "confirm-destructive",
      "exportName": "ConfirmDestructive",
      "name": "Destructive confirmation",
      "description": "Dialog that names the consequences of an irreversible action before allowing it.",
      "prompt": "Ask the user to confirm before deleting a project, and say what is lost.",
      "components": [
        "ConfirmDialog"
      ],
      "surfaceIntent": "confirmation",
      "sandboxSupport": "portal",
      "status": "in-progress",
      "tier": "starter",
      "sourcePath": "src/templates/ConfirmDestructive/ConfirmDestructive.tsx",
      "storyPath": "?path=/story/templates-destructive-confirmation--default"
    },
    {
      "id": "error-page",
      "exportName": "ErrorPage",
      "name": "Error page",
      "description": "Full-page not-found and server-error states with a way back and a support route.",
      "prompt": "Build a 404 page with a link back to the dashboard.",
      "components": [
        "EmptyState",
        "Stack",
        "Button",
        "Link"
      ],
      "surfaceIntent": "system-notice",
      "sandboxSupport": "inline",
      "status": "ready",
      "tier": "starter",
      "sourcePath": "src/templates/ErrorPage/ErrorPage.tsx",
      "storyPath": "?path=/story/templates-error-page--not-found"
    }
  ]
}
