{
  "id": "slider",
  "name": "Slider",
  "level": "molecule",
  "status": "stable",
  "purpose": "Picks a value along a range by dragging.",
  "description": "Semantic value selector. Wraps `@radix-ui/react-slider`, so the ARIA contract\n(`role=\"slider\"`, `aria-valuemin/max/now`, arrow + page + Home/End navigation, RTL-aware orientation)\nis right by construction. Pass one value for a single slider, two or more for a range —\nRadix renders one Thumb per value.\n\nComposition slots: `marks`, `showValue`+`formatValue` (value bubble),\n`startAdornment`/`endAdornment`, and `gradient` for the filled range.\nHit area stays at 44 × 44 at every size via an invisible pseudo-element on each thumb.",
  "role": "input",
  "import": "@rrios-forge/ui/molecules/slider",
  "exports": [
    "Slider",
    "sliderAdornmentVariants",
    "sliderMarkLabelVariants",
    "sliderMarkVariants",
    "sliderRangeVariants",
    "sliderRootVariants",
    "sliderThumbVariants",
    "sliderTrackVariants",
    "sliderValueBubbleVariants",
    "SLIDER_INTENTS",
    "SLIDER_ORIENTATIONS",
    "SLIDER_SHOW_VALUE",
    "SLIDER_SIZES",
    "SLIDER_TONES"
  ],
  "source": "packages/ui/src/molecules/slider",
  "axes": [
    {
      "axis": "orientation",
      "part": null,
      "values": [
        "horizontal",
        "vertical"
      ],
      "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": "size",
      "part": null,
      "values": [
        "sm",
        "md",
        "lg"
      ],
      "default": "md",
      "meaning": "Ergonomic scale, in three families (control, text, container)."
    },
    {
      "axis": "intent",
      "part": null,
      "values": [
        "primary"
      ],
      "default": null,
      "meaning": "What an action does."
    },
    {
      "axis": "tone",
      "part": null,
      "values": [
        "neutral",
        "info",
        "success",
        "warning",
        "danger"
      ],
      "default": null,
      "meaning": "Which semantic colour family the element speaks in."
    },
    {
      "axis": "visibility",
      "part": null,
      "values": [
        "always",
        "on-interaction"
      ],
      "default": "on-interaction",
      "meaning": "When an affordance shows."
    }
  ],
  "needs": [
    {
      "need": "Date field / file drop / slider",
      "answer": "`DateField` / `FileDropzone` / `Slider`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-slider--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-slider--playground",
      "frame": "/iframe.html?id=components-molecules-slider--playground&viewMode=story"
    },
    {
      "name": "Variants — tones",
      "id": "components-molecules-slider--variants",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-slider--variants",
      "frame": "/iframe.html?id=components-molecules-slider--variants&viewMode=story"
    },
    {
      "name": "Sizes",
      "id": "components-molecules-slider--sizes",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-slider--sizes",
      "frame": "/iframe.html?id=components-molecules-slider--sizes&viewMode=story"
    },
    {
      "name": "States",
      "id": "components-molecules-slider--states",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-slider--states",
      "frame": "/iframe.html?id=components-molecules-slider--states&viewMode=story"
    },
    {
      "name": "Range",
      "id": "components-molecules-slider--range",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-slider--range",
      "frame": "/iframe.html?id=components-molecules-slider--range&viewMode=story"
    },
    {
      "name": "With marks",
      "id": "components-molecules-slider--with-marks",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-slider--with-marks",
      "frame": "/iframe.html?id=components-molecules-slider--with-marks&viewMode=story"
    },
    {
      "name": "Vertical",
      "id": "components-molecules-slider--vertical",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-slider--vertical",
      "frame": "/iframe.html?id=components-molecules-slider--vertical&viewMode=story"
    },
    {
      "name": "With adornments",
      "id": "components-molecules-slider--with-adornments",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-slider--with-adornments",
      "frame": "/iframe.html?id=components-molecules-slider--with-adornments&viewMode=story"
    },
    {
      "name": "With value bubble",
      "id": "components-molecules-slider--with-value-bubble",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-slider--with-value-bubble",
      "frame": "/iframe.html?id=components-molecules-slider--with-value-bubble&viewMode=story"
    },
    {
      "name": "Gradient track",
      "id": "components-molecules-slider--gradient-track",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-slider--gradient-track",
      "frame": "/iframe.html?id=components-molecules-slider--gradient-track&viewMode=story"
    },
    {
      "name": "In context",
      "id": "components-molecules-slider--in-context",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-slider--in-context",
      "frame": "/iframe.html?id=components-molecules-slider--in-context&viewMode=story"
    },
    {
      "name": "RTL",
      "id": "components-molecules-slider--right-to-left",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-slider--right-to-left",
      "frame": "/iframe.html?id=components-molecules-slider--right-to-left&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/slider.stories.tsx"
}
