Skip to main content
Popover floating panel.
{
  "type": "object",
  "properties": {
    "type": {
      "const": "Popover",
      "default": "Popover",
      "type": "string"
    },
    "cssClass": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "description": "CSS/Tailwind classes for styling"
    },
    "children": {
      "type": "array",
      "items": {
        "$ref": "Component"
      }
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "description": "Optional popover header title"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "description": "Optional popover description"
    },
    "side": {
      "enum": [
        "top",
        "right",
        "bottom",
        "left"
      ],
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "description": "Which side to show the popover"
    }
  },
  "required": [
    "type"
  ]
}