Copy
Ask AI
{
"type": "object",
"properties": {
"type": {
"const": "Grid",
"default": "Grid",
"type": "string"
},
"cssClass": {
"type": [
"string",
"null"
],
"default": null,
"description": "CSS/Tailwind classes for styling"
},
"children": {
"type": "array",
"items": {
"$ref": "Component"
}
},
"columns": {
"default": 3,
"maximum": 12,
"minimum": 1,
"type": "integer"
},
"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
},
"align": {
"enum": [
"start",
"center",
"end",
"stretch",
"baseline"
],
"type": [
"string",
"null"
],
"default": null
},
"justify": {
"enum": [
"start",
"center",
"end",
"between",
"around",
"evenly",
"stretch"
],
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
"type"
]
}