{
  "id": "error-summary",
  "name": "ErrorSummary",
  "level": "molecule",
  "status": "stable",
  "purpose": "Lists what went wrong in a form and takes people to each mistake.",
  "description": "Summary of validation errors at the top of a form. role=alert + aria-live=assertive. Each error optionally links to the field via href. Field-level errors still live next to their inputs (Field.Error); ErrorSummary supplements, never replaces. Patterns consulted: Patterns/Forms · ValidationFlow.",
  "role": "feedback",
  "import": "@rrios-forge/ui/molecules/error-summary",
  "exports": [
    "ErrorSummary",
    "errorSummaryVariants"
  ],
  "source": "packages/ui/src/molecules/error-summary",
  "axes": [],
  "needs": [],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-errorsummary--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-errorsummary--playground",
      "frame": "/iframe.html?id=components-molecules-errorsummary--playground&viewMode=story"
    },
    {
      "name": "With links",
      "id": "components-molecules-errorsummary--with-links",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-errorsummary--with-links",
      "frame": "/iframe.html?id=components-molecules-errorsummary--with-links&viewMode=story"
    },
    {
      "name": "Without links",
      "id": "components-molecules-errorsummary--without-links",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-errorsummary--without-links",
      "frame": "/iframe.html?id=components-molecules-errorsummary--without-links&viewMode=story"
    },
    {
      "name": "In form",
      "id": "components-molecules-errorsummary--in-form",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-errorsummary--in-form",
      "frame": "/iframe.html?id=components-molecules-errorsummary--in-form&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/error-summary.stories.tsx"
}
