{
  "purpose": "Keep media within a predictable proportional area.",
  "avoid": "The ratio does not supply a text alternative or image loading policy.",
  "classification": "source-bound-reference-with-explicit-decisions",
  "basis": "Pinned React/primitive sources lead API, lifecycle and semantics; native visual observations and explicit reference decisions are mapped in figma/traceability.json.",
  "profile": "content-display/1",
  "profileRationale": "Meaningful native content or a content container in its default source mode. Interactive descendants/native render overrides keep their own native or component contracts; no decorative fallback or invented selection API.",
  "componentId": "shadcn:AspectRatio",
  "contentAlternative": "The image alt conveys the meaningful media subject; a decorative image instead gets empty alt in its own context.",
  "updatesAndDescendants": "The wrapper sets CSS --ratio from a required number and rerenders children on prop updates. It does not load, crop, label or announce media automatically. This reference requires a finite positive ratio as a caller precondition.",
  "referenceDecision": "Positive ratio and meaningful alt are caller requirements. The upstream function itself supplies no runtime ratio validation.",
  "sourceCommit": "45bbf9ba23c9c0f63d38887947e5fb06f59c7da3",
  "sourceFiles": [
    "sources/shadcn/apps/v4/registry/bases/base/ui/aspect-ratio.tsx.source",
    "sources/shadcn/apps/v4/content/docs/components/base/aspect-ratio.mdx.source",
    "sources/shadcn/apps/v4/registry/bases/base/examples/aspect-ratio-example.tsx.source"
  ],
  "primitiveDocs": [],
  "visualContract": {
    "layoutPolicy": "The actual wrapper sets --ratio from its required number prop. Caller precondition is finite positive ratio; there is no invented runtime validation/default. Native384×216 is one16:9 specimen, not a fixed output width.10px clipped corners and gray/6 preview surface retain observed visual values; the neutral surface is deliberately fixed rather than pretending it is a theme mode. Source docs explicitly show16:9,1:1 and9:16 examples and caller object-cover media. This reference adopts cover cropping with meaningful alt; the small vector image is independently authored test media, not native kit imagery. Intrinsic parent width controls both dimensions; child loading and announcements remain caller-owned.",
    "parts": "component.json#/partBindings",
    "tokenBindings": "component.json#/visualContract/tokens",
    "sourceEvidence": "figma/traceability.json"
  }
}
