{
  "format": "ui-contract-component-draft",
  "id": "shadcn:Progress",
  "version": "0.4.1",
  "status": "complete",
  "domains": {
    "interface": "interface.json",
    "visual": {
      "tokens": "../../tokens.json",
      "css": "layout.css"
    },
    "behavior": "behavior.scxml",
    "accessibility": {
      "html": "accessibility.html",
      "rules": "accessibility.rules.json"
    }
  },
  "anatomy": {
    "root": "Actual named native progressbar; primitive clamps numeric state.",
    "track": "Actual full-width track automatically included by Progress.",
    "indicator": "Actual primitive inline width, not a fixed specimen width.",
    "label": "Actual primitive-associated task label.",
    "value": "Primitive localized/clamped visible value; empty for indeterminate."
  },
  "stories": "stories.json",
  "ux": "ux.json",
  "convention": "semantic-component/1",
  "partBindings": {
    "root": {
      "kind": "element",
      "declaration": "Progress",
      "selector": "[data-slot=\"progress\"]",
      "description": "Actual named native progressbar; primitive clamps numeric state.",
      "ownership": "actual pinned wrapper"
    },
    "track": {
      "kind": "element",
      "declaration": "ProgressTrack",
      "selector": "[data-slot=\"progress-track\"]",
      "description": "Actual full-width track automatically included by Progress.",
      "ownership": "actual pinned wrapper"
    },
    "indicator": {
      "kind": "element",
      "declaration": "ProgressIndicator",
      "selector": "[data-slot=\"progress-indicator\"]",
      "description": "Actual primitive inline width, not a fixed specimen width.",
      "ownership": "actual pinned wrapper"
    },
    "label": {
      "kind": "element",
      "declaration": "ProgressLabel",
      "selector": "[data-slot=\"progress-label\"]",
      "description": "Actual primitive-associated task label.",
      "ownership": "actual pinned wrapper"
    },
    "value": {
      "kind": "element",
      "declaration": "ProgressValue",
      "selector": "[data-slot=\"progress-value\"]",
      "description": "Primitive localized/clamped visible value; empty for indeterminate.",
      "ownership": "actual pinned wrapper"
    }
  },
  "visualContract": {
    "tokens": {
      "color-foreground": "semantic.color.foreground",
      "color-muted": "semantic.color.muted",
      "color-primary": "semantic.color.primary",
      "font-fallback": "semantic.typography.fallbackFamily",
      "font-family": "semantic.typography.fontFamily",
      "font-size-body": "semantic.typography.bodySize",
      "line-height-body": "semantic.typography.bodyLineHeight",
      "progress-gap": "components.progress.gap",
      "progress-radius": "components.progress.radius",
      "progress-track-height": "components.progress.trackHeight"
    },
    "runtimeProperties": {},
    "layoutPolicy": "The pinned Progress root adds exactly one Track/Indicator after caller children; callers should not add a duplicate default track. Visible native track height is4px inside a12px artwork frame, confirmed by the separate deep native read. The source root gap 12px and native full corner are semantic metrics; sample 384px width and 240px range are observations, never runtime dimensions. The primitive owns clamping, localized value, aria-valuenow/valuetext and inline indicator percentage across min/max; CSS preserves that inline width and logical start in RTL. Indeterminate state has no numeric value: this reference uses a static centered 35% segment plus the real indeterminate description, without inventing a measured animation timing. The caller provides separate completion/error feedback; progress itself is passive and has no disabled or keyboard-action API.",
    "variants": {},
    "sourceTraceability": "figma/traceability.json"
  }
}
