Skip to main content
Hover card with rich content.
{
  "type": "object",
  "properties": {
    "type": {
      "const": "HoverCard",
      "default": "HoverCard",
      "type": "string"
    },
    "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."
    },
    "side": {
      "enum": [
        "top",
        "right",
        "bottom",
        "left"
      ],
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "description": "Which side to show the hover card"
    },
    "openDelay": {
      "type": [
        "integer",
        "null"
      ],
      "default": null,
      "description": "Delay in milliseconds before opening"
    },
    "closeDelay": {
      "type": [
        "integer",
        "null"
      ],
      "default": null,
      "description": "Delay in milliseconds before closing"
    }
  },
  "required": [
    "type"
  ]
}