{
  "id": "bar-list",
  "name": "BarList",
  "level": "molecule",
  "status": "stable",
  "purpose": "Names ranked by a value — a label, the value and a thin bar per row.",
  "description": "Compare magnitude when the categories are names: each row is its label and its value, and the bar shows the size. Text first — the list reads without the bars. One list is one series, so every bar wears the same slot; values use tabular numerals; bars grow from one baseline and do not animate in.",
  "role": "content",
  "import": "@rrios-forge/ui/molecules/bar-list",
  "exports": [
    "BarList",
    "barListBarVariants",
    "barListTrackVariants",
    "barListVariants",
    "BAR_LIST_SIZES"
  ],
  "source": "packages/ui/src/molecules/bar-list",
  "axes": [
    {
      "axis": "size",
      "part": null,
      "values": [
        "sm",
        "md"
      ],
      "default": "md",
      "meaning": "Ergonomic scale, in three families (control, text, container)."
    }
  ],
  "needs": [
    {
      "need": "Names ranked by a value (top pages, products)",
      "answer": "`BarList`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [
    {
      "id": "ADR-036",
      "title": "Data visualization: colour roles, a grammar, and three components on plain SVG"
    }
  ],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-barlist--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-barlist--playground",
      "frame": "/iframe.html?id=components-molecules-barlist--playground&viewMode=story"
    },
    {
      "name": "Sizes",
      "id": "components-molecules-barlist--sizes",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-barlist--sizes",
      "frame": "/iframe.html?id=components-molecules-barlist--sizes&viewMode=story"
    },
    {
      "name": "With links",
      "id": "components-molecules-barlist--with-links",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-barlist--with-links",
      "frame": "/iframe.html?id=components-molecules-barlist--with-links&viewMode=story"
    },
    {
      "name": "In a Card",
      "id": "components-molecules-barlist--in-a-card",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-barlist--in-a-card",
      "frame": "/iframe.html?id=components-molecules-barlist--in-a-card&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/bar-list.stories.tsx"
}
