Skip to main content
Popover floating panel.
{
  "type": "object",
  "properties": {
    "type": {
      "const": "Popover",
      "default": "Popover",
      "type": "string"
    },
    "id": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "description": "HTML id attribute for CSS targeting. Applied to the outermost element."
    },
    "cssClass": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "description": "CSS/Tailwind classes for styling. Accepts a Responsive() for breakpoint-aware classes."
    },
    "children": {
      "type": "array",
      "items": {
        "$ref": "Component"
      }
    },
    "let": {
      "additionalProperties": true,
      "type": [
        "object",
        "null"
      ],
      "default": null,
      "description": "Scoped bindings available to children. Values are template strings."
    },
    "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"
  ]
}