{
  "id": "settings-field",
  "name": "SettingsField",
  "level": "molecule",
  "status": "stable",
  "purpose": "One setting: what it does, in a line, and its control.",
  "description": "One-row settings layout. Title + description on the left, control + action on the right. Stacks below sm. Use Field underneath for the actual <label htmlFor> wiring; SettingsField title is the visible name. Patterns consulted: Patterns/Forms · FieldAnatomy, Patterns/Density & Growth · DensityLevels.",
  "role": "input",
  "import": "@rrios-forge/ui/molecules/settings-field",
  "exports": [
    "SettingsField",
    "SETTINGS_FIELD_DENSITIES",
    "settingsFieldVariants"
  ],
  "source": "packages/ui/src/molecules/settings-field",
  "axes": [
    {
      "axis": "density",
      "part": null,
      "values": [
        "compact",
        "comfortable"
      ],
      "default": null,
      "meaning": null
    }
  ],
  "needs": [
    {
      "need": "Binary toggle / checkbox / radio group",
      "answer": "`Switch` (in `SettingsField` with label) / `Checkbox` / `ChoiceGroup` with `Radio`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-settingsfield--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-settingsfield--playground",
      "frame": "/iframe.html?id=components-molecules-settingsfield--playground&viewMode=story"
    },
    {
      "name": "With switch",
      "id": "components-molecules-settingsfield--with-switch",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-settingsfield--with-switch",
      "frame": "/iframe.html?id=components-molecules-settingsfield--with-switch&viewMode=story"
    },
    {
      "name": "With select",
      "id": "components-molecules-settingsfield--with-select",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-settingsfield--with-select",
      "frame": "/iframe.html?id=components-molecules-settingsfield--with-select&viewMode=story"
    },
    {
      "name": "With button",
      "id": "components-molecules-settingsfield--with-button",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-settingsfield--with-button",
      "frame": "/iframe.html?id=components-molecules-settingsfield--with-button&viewMode=story"
    },
    {
      "name": "Compact",
      "id": "components-molecules-settingsfield--compact",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-settingsfield--compact",
      "frame": "/iframe.html?id=components-molecules-settingsfield--compact&viewMode=story"
    },
    {
      "name": "Disabled control",
      "id": "components-molecules-settingsfield--disabled-control",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-settingsfield--disabled-control",
      "frame": "/iframe.html?id=components-molecules-settingsfield--disabled-control&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/settings-field.stories.tsx"
}
