{
  "id": "scroll-area",
  "name": "ScrollArea",
  "level": "molecule",
  "status": "stable",
  "purpose": "Scrolls one axis with soft edge fades instead of a heavy scrollbar.",
  "description": "A region that scrolls on one axis without a heavy scrollbar (ADR-039). Its edges fade only where content continues, so the reader sees there is more without a grey bar; a vertical wheel moves a horizontal strip. Name it (`aria-label`) and it becomes a keyboard stop when it overflows.",
  "role": "surface",
  "import": "@rrios-forge/ui/molecules/scroll-area",
  "exports": [
    "ScrollArea",
    "SCROLL_AREA_ORIENTATIONS",
    "scrollAreaVariants"
  ],
  "source": "packages/ui/src/molecules/scroll-area",
  "axes": [
    {
      "axis": "orientation",
      "part": null,
      "values": [
        "horizontal",
        "vertical"
      ],
      "default": "vertical",
      "meaning": "The direction the parts run: a row (horizontal) or a column (vertical); responsive stacks on phones and runs in a row from sm."
    }
  ],
  "needs": [
    {
      "need": "Content that overflows one axis (a strip of options, a long list in a pane)",
      "answer": "`ScrollArea` (edge fades, no heavy scrollbar)"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [
    {
      "id": "ADR-039",
      "title": "The component premium pass: translucent fills, a selected register, quiet scroll, and a system-wide audit"
    }
  ],
  "stories": [
    {
      "name": "Horizontal",
      "id": "components-molecules-scrollarea--horizontal",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-scrollarea--horizontal",
      "frame": "/iframe.html?id=components-molecules-scrollarea--horizontal&viewMode=story"
    },
    {
      "name": "Vertical",
      "id": "components-molecules-scrollarea--vertical",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-scrollarea--vertical",
      "frame": "/iframe.html?id=components-molecules-scrollarea--vertical&viewMode=story"
    },
    {
      "name": "No Overflow",
      "id": "components-molecules-scrollarea--no-overflow",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-scrollarea--no-overflow",
      "frame": "/iframe.html?id=components-molecules-scrollarea--no-overflow&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/scroll-area.stories.tsx"
}
