{
"type": "object",
"properties": {
"type": {
"const": "Progress",
"default": "Progress",
"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."
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"default": 0,
"description": "Current progress value"
},
"min": {
"type": [
"number",
"null"
],
"default": null,
"description": "Minimum value (default 0)"
},
"max": {
"type": [
"number",
"null"
],
"default": null,
"description": "Maximum value (default 100)"
},
"variant": {
"anyOf": [
{
"enum": [
"default",
"success",
"warning",
"destructive",
"info",
"muted"
],
"type": "string"
},
{
"type": "string"
}
],
"default": "default",
"description": "Visual variant: default, success, warning, destructive, info, muted"
},
"size": {
"default": "default",
"description": "Bar thickness: sm (4px), default (6px), lg (10px)",
"enum": [
"sm",
"default",
"lg"
],
"type": "string"
},
"target": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Target marker position (renders a vertical line at this value)"
},
"indicatorClass": {
"type": [
"string",
"null"
],
"default": null,
"description": "Tailwind classes for the indicator bar (e.g. 'bg-green-500')"
},
"targetClass": {
"type": [
"string",
"null"
],
"default": null,
"description": "Tailwind classes for the target marker line"
},
"orientation": {
"default": "horizontal",
"description": "Layout direction: horizontal or vertical",
"enum": [
"horizontal",
"vertical"
],
"type": "string"
},
"gradient": {
"type": [
"boolean",
"null"
],
"default": null,
"description": "Gradient fill: None (inherit from theme), True (force on), False (force off)"
}
},
"required": [
"type"
]
}