{
"type": "object",
"properties": {
"type": {
"const": "Span",
"default": "Span",
"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."
},
"content": {
"description": "Text content",
"type": "string"
},
"bold": {
"type": [
"boolean",
"null"
],
"default": null
},
"italic": {
"type": [
"boolean",
"null"
],
"default": null
},
"underline": {
"type": [
"boolean",
"null"
],
"default": null
},
"strikethrough": {
"type": [
"boolean",
"null"
],
"default": null
},
"uppercase": {
"type": [
"boolean",
"null"
],
"default": null
},
"lowercase": {
"type": [
"boolean",
"null"
],
"default": null
},
"code": {
"default": false,
"description": "Render as inline code with monospace font",
"type": "boolean"
},
"align": {
"default": null,
"type": "null"
},
"style": {
"additionalProperties": {
"type": "string"
},
"type": [
"object",
"null"
],
"default": null,
"description": "Inline CSS styles as a dict of property/value pairs."
}
},
"required": [
"type",
"content"
]
}