{
  "id": "toast",
  "name": "Toast",
  "level": "molecule",
  "status": "stable",
  "purpose": "A brief message about something that just happened.",
  "description": "Transient feedback message. Composes `@radix-ui/react-toast` (`role=\"status\"` for default, `role=\"alert\"` for danger; polite/assertive live regions, swipe-to-dismiss, escape-to-close). The Provider wraps the app; the Viewport is the portal target. It wears the shared overlay glass (ADR-038) with a leading tinted status glyph — colour pairs with the glyph shape and the message text so meaning never rides on colour alone (R14).",
  "role": "feedback",
  "import": "@rrios-forge/ui/molecules/toast",
  "exports": [
    "Toast",
    "ToastAction",
    "ToastClose",
    "ToastDescription",
    "ToastIcon",
    "ToastProvider",
    "ToastTitle",
    "ToastViewport",
    "toastIconPillVariants",
    "toastVariants",
    "toastViewportVariants",
    "TOAST_TONES"
  ],
  "source": "packages/ui/src/molecules/toast",
  "axes": [
    {
      "axis": "tone",
      "part": null,
      "values": [
        "neutral",
        "info",
        "success",
        "warning",
        "danger"
      ],
      "default": "neutral",
      "meaning": "Which semantic colour family the element speaks in."
    }
  ],
  "needs": [
    {
      "need": "Ephemeral toast",
      "answer": "`Toast`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [],
  "stories": [
    {
      "name": "Tones",
      "id": "components-molecules-toast--tones",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-toast--tones",
      "frame": "/iframe.html?id=components-molecules-toast--tones&viewMode=story"
    },
    {
      "name": "With action",
      "id": "components-molecules-toast--with-action",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-toast--with-action",
      "frame": "/iframe.html?id=components-molecules-toast--with-action&viewMode=story"
    },
    {
      "name": "Default",
      "id": "components-molecules-toast--default",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-toast--default",
      "frame": "/iframe.html?id=components-molecules-toast--default&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/toast.stories.tsx"
}
