{
  "id": "pricing-option",
  "name": "PricingOption",
  "level": "molecule",
  "status": "stable",
  "purpose": "One choice of plan, to pick among a few.",
  "description": "Selectable plan / price option. Standalone, the consumer wires `selected`; inside a `PricingOptionGroup` each option takes a `value` and the card itself is the radio. `prominence=\"featured\"` is the 'recommended' mark (a lift and a badge), visually distinct from the user's selection (an accent ring and a check).",
  "role": "content",
  "import": "@rrios-forge/ui/molecules/pricing-option",
  "exports": [
    "PricingOption",
    "PricingOptionGroup",
    "PRICING_OPTION_PROMINENCES",
    "pricingOptionGroupVariants",
    "pricingOptionVariants"
  ],
  "source": "packages/ui/src/molecules/pricing-option",
  "axes": [
    {
      "axis": "selected",
      "part": null,
      "values": [
        "true",
        "false"
      ],
      "default": "false",
      "meaning": "Chosen in a set: the selected wash plus a non-colour cue (weight, check)."
    },
    {
      "axis": "prominence",
      "part": null,
      "values": [
        "default",
        "featured"
      ],
      "default": "default",
      "meaning": "How a surface stands among its siblings."
    },
    {
      "axis": "disabled",
      "part": null,
      "values": [
        "true",
        "false"
      ],
      "default": "false",
      "meaning": "Not available: dimmed, skipped by the keyboard, ignores the pointer."
    },
    {
      "axis": "interactive",
      "part": null,
      "values": [
        "true",
        "false"
      ],
      "default": "false",
      "meaning": "Responds to the pointer: hover and press feedback, a pointer cursor."
    }
  ],
  "needs": [
    {
      "need": "Pricing plan",
      "answer": "`PlanCard` or `PricingOption`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [
    {
      "id": "ADR-005",
      "title": "Visual operational rules: surfaces, interaction, motion"
    },
    {
      "id": "ADR-006",
      "title": "Geometry and typography signature"
    },
    {
      "id": "ADR-028",
      "title": "The label is not the fill"
    },
    {
      "id": "ADR-030",
      "title": "Axis vocabulary: one name, one meaning"
    }
  ],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-pricingoption--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-pricingoption--playground",
      "frame": "/iframe.html?id=components-molecules-pricingoption--playground&viewMode=story"
    },
    {
      "name": "Selected",
      "id": "components-molecules-pricingoption--selected",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-pricingoption--selected",
      "frame": "/iframe.html?id=components-molecules-pricingoption--selected&viewMode=story"
    },
    {
      "name": "Highlighted",
      "id": "components-molecules-pricingoption--highlighted",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-pricingoption--highlighted",
      "frame": "/iframe.html?id=components-molecules-pricingoption--highlighted&viewMode=story"
    },
    {
      "name": "Disabled",
      "id": "components-molecules-pricingoption--disabled",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-pricingoption--disabled",
      "frame": "/iframe.html?id=components-molecules-pricingoption--disabled&viewMode=story"
    },
    {
      "name": "Pricing set",
      "id": "components-molecules-pricingoption--pricing-set",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-pricingoption--pricing-set",
      "frame": "/iframe.html?id=components-molecules-pricingoption--pricing-set&viewMode=story"
    },
    {
      "name": "Radio group",
      "id": "components-molecules-pricingoption--radio-group",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-pricingoption--radio-group",
      "frame": "/iframe.html?id=components-molecules-pricingoption--radio-group&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/pricing-option.stories.tsx"
}
