{
  "id": "toolbar",
  "name": "Toolbar",
  "level": "molecule",
  "status": "stable",
  "purpose": "Generic horizontal toolbar of actions.",
  "description": "Compact action / filter row. Renders <div role=\"toolbar\"> with align (start | between | end) and density (compact | comfortable). Chrome-less: items carry the grouping and a framed toolbar is its host's Card. Children keep their intrinsic width; mark the one that should grow with `data-toolbar-grow`. The molecule never reorders children — reading order matches visual order. Patterns consulted: Patterns/Visual Priority · ActionHierarchy, Patterns/Density & Growth · ActionOverflow.",
  "role": "action",
  "import": "@rrios-forge/ui/molecules/toolbar",
  "exports": [
    "Toolbar",
    "TOOLBAR_ALIGNS",
    "TOOLBAR_DENSITIES",
    "toolbarVariants"
  ],
  "source": "packages/ui/src/molecules/toolbar",
  "axes": [
    {
      "axis": "align",
      "part": null,
      "values": [
        "start",
        "between",
        "end"
      ],
      "default": "between",
      "meaning": "Distribution along the main axis."
    }
  ],
  "needs": [
    {
      "need": "Toolbar / split action",
      "answer": "`Toolbar` or `ActionGroup` / `SplitAction`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-toolbar--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-toolbar--playground",
      "frame": "/iframe.html?id=components-molecules-toolbar--playground&viewMode=story"
    },
    {
      "name": "With search",
      "id": "components-molecules-toolbar--with-search",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-toolbar--with-search",
      "frame": "/iframe.html?id=components-molecules-toolbar--with-search&viewMode=story"
    },
    {
      "name": "With filters",
      "id": "components-molecules-toolbar--with-filters",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-toolbar--with-filters",
      "frame": "/iframe.html?id=components-molecules-toolbar--with-filters&viewMode=story"
    },
    {
      "name": "With actions",
      "id": "components-molecules-toolbar--with-actions",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-toolbar--with-actions",
      "frame": "/iframe.html?id=components-molecules-toolbar--with-actions&viewMode=story"
    },
    {
      "name": "Dense",
      "id": "components-molecules-toolbar--dense",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-toolbar--dense",
      "frame": "/iframe.html?id=components-molecules-toolbar--dense&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/toolbar.stories.tsx"
}
