{
  "type": "slider",
  "description": "A slider that can optionally sync with canvas parameters. If param is provided, syncs with that parameter or form; otherwise works as a regular slider.",
  "hasChildren": false,
  "propsSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
      "label": {
        "description": "Label text displayed above the slider",
        "type": "string"
      },
      "param": {
        "description": "The canvas parameter name to sync with, or form field name if inside a Form component. If omitted, works as a regular slider.",
        "type": "string"
      },
      "min": {
        "default": 0,
        "type": "number"
      },
      "max": {
        "default": 100,
        "type": "number"
      },
      "step": {
        "default": 1,
        "type": "number"
      },
      "defaultValue": {
        "default": 0,
        "type": "number"
      },
      "disabled": {
        "default": false,
        "type": "boolean"
      },
      "style": {
        "description": "Inline CSS styles as a plain CSS string (e.g., \"color: red; font-size: 16px\")",
        "type": "string"
      }
    }
  }
}
