{
  "id": "action-group",
  "name": "ActionGroup",
  "level": "molecule",
  "status": "stable",
  "purpose": "Cluster of related actions (e.g. dialog footer).",
  "description": "Consistent grouping of primary, secondary and destructive actions. Three orthogonal axes: align (start | end | between), orientation (horizontal | vertical | responsive), density (compact | comfortable). The molecule never reorders children — reading order matches visual order. Patterns consulted: Patterns/Visual Priority · ActionHierarchy + QuietSecondaryActions, Patterns/Density & Growth · ActionOverflow.",
  "role": "action",
  "import": "@rrios-forge/ui/molecules/action-group",
  "exports": [
    "ActionGroup",
    "ACTION_GROUP_ALIGNS",
    "ACTION_GROUP_DENSITIES",
    "ACTION_GROUP_ORIENTATIONS",
    "actionGroupVariants"
  ],
  "source": "packages/ui/src/molecules/action-group",
  "axes": [
    {
      "axis": "orientation",
      "part": null,
      "values": [
        "horizontal",
        "vertical",
        "responsive"
      ],
      "default": "horizontal",
      "meaning": "The direction the parts run: a row (horizontal) or a column (vertical); responsive stacks on phones and runs in a row from sm."
    },
    {
      "axis": "align",
      "part": null,
      "values": [
        "start",
        "end",
        "between"
      ],
      "default": "end",
      "meaning": "Distribution along the main axis."
    }
  ],
  "needs": [
    {
      "need": "Toolbar / split action",
      "answer": "`Toolbar` or `ActionGroup` / `SplitAction`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [
    {
      "id": "ADR-008",
      "title": "Layout layer: refined `Grid` + new `Container`"
    }
  ],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-actiongroup--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-actiongroup--playground",
      "frame": "/iframe.html?id=components-molecules-actiongroup--playground&viewMode=story"
    },
    {
      "name": "Alignment",
      "id": "components-molecules-actiongroup--alignment",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-actiongroup--alignment",
      "frame": "/iframe.html?id=components-molecules-actiongroup--alignment&viewMode=story"
    },
    {
      "name": "Orientation",
      "id": "components-molecules-actiongroup--orientation",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-actiongroup--orientation",
      "frame": "/iframe.html?id=components-molecules-actiongroup--orientation&viewMode=story"
    },
    {
      "name": "Density",
      "id": "components-molecules-actiongroup--density",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-actiongroup--density",
      "frame": "/iframe.html?id=components-molecules-actiongroup--density&viewMode=story"
    },
    {
      "name": "Primary · secondary · danger",
      "id": "components-molecules-actiongroup--primary-secondary-danger",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-actiongroup--primary-secondary-danger",
      "frame": "/iframe.html?id=components-molecules-actiongroup--primary-secondary-danger&viewMode=story"
    },
    {
      "name": "In dialog footer",
      "id": "components-molecules-actiongroup--in-dialog-footer",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-actiongroup--in-dialog-footer",
      "frame": "/iframe.html?id=components-molecules-actiongroup--in-dialog-footer&viewMode=story"
    },
    {
      "name": "In card footer",
      "id": "components-molecules-actiongroup--in-card-footer",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-actiongroup--in-card-footer",
      "frame": "/iframe.html?id=components-molecules-actiongroup--in-card-footer&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/action-group.stories.tsx"
}
