{
  "id": "loading-state",
  "name": "LoadingState",
  "level": "molecule",
  "status": "stable",
  "purpose": "What a surface shows while it loads: a spinner, a skeleton of its content, or progress.",
  "description": "What a surface shows while it loads: a skeleton of its content when the layout is known, a spinner for short waits, or a progress bar with a caption when the work can be measured. Screen readers hear that the region is busy and when it is done.",
  "role": "feedback",
  "import": "@rrios-forge/ui/molecules/loading-state",
  "exports": [
    "LoadingState",
    "LOADING_STATE_SIZES",
    "LOADING_STATE_TYPES",
    "loadingStateVariants"
  ],
  "source": "packages/ui/src/molecules/loading-state",
  "axes": [
    {
      "axis": "size",
      "part": null,
      "values": [
        "sm",
        "md",
        "lg"
      ],
      "default": "md",
      "meaning": "Ergonomic scale, in three families (control, text, container)."
    },
    {
      "axis": "type",
      "part": null,
      "values": [
        "spinner",
        "skeleton",
        "progress"
      ],
      "default": "skeleton",
      "meaning": "Which loading indicator."
    }
  ],
  "needs": [
    {
      "need": "Empty / loading state",
      "answer": "`EmptyState` / `LoadingState` or `Skeleton`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-loadingstate--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-loadingstate--playground",
      "frame": "/iframe.html?id=components-molecules-loadingstate--playground&viewMode=story"
    },
    {
      "name": "Spinner",
      "id": "components-molecules-loadingstate--spinner",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-loadingstate--spinner",
      "frame": "/iframe.html?id=components-molecules-loadingstate--spinner&viewMode=story"
    },
    {
      "name": "Skeleton",
      "id": "components-molecules-loadingstate--skeleton",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-loadingstate--skeleton",
      "frame": "/iframe.html?id=components-molecules-loadingstate--skeleton&viewMode=story"
    },
    {
      "name": "Skeleton fallback",
      "id": "components-molecules-loadingstate--skeleton-fallback",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-loadingstate--skeleton-fallback",
      "frame": "/iframe.html?id=components-molecules-loadingstate--skeleton-fallback&viewMode=story"
    },
    {
      "name": "Progress",
      "id": "components-molecules-loadingstate--progress",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-loadingstate--progress",
      "frame": "/iframe.html?id=components-molecules-loadingstate--progress&viewMode=story"
    },
    {
      "name": "Full page",
      "id": "components-molecules-loadingstate--full-page",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-loadingstate--full-page",
      "frame": "/iframe.html?id=components-molecules-loadingstate--full-page&viewMode=story"
    },
    {
      "name": "Inline",
      "id": "components-molecules-loadingstate--inline",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-loadingstate--inline",
      "frame": "/iframe.html?id=components-molecules-loadingstate--inline&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/loading-state.stories.tsx"
}
