Copy
Ask AI
{
"type": "object",
"properties": {
"type": {
"const": "Dashboard",
"default": "Dashboard",
"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."
},
"columns": {
"default": 12,
"description": "Number of grid columns.",
"type": "integer"
},
"rowHeight": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"default": 120,
"description": "Height of each auto-generated row. Integer for pixels, string for any CSS value."
},
"rows": {
"type": [
"integer",
"null"
],
"default": null,
"description": "Fixed number of rows. Omit for auto-expanding rows."
},
"gap": {
"anyOf": [
{
"type": "integer"
},
{
"maxItems": 2,
"minItems": 2,
"prefixItems": [
{
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
{
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
],
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"type"
]
}