{
  "purpose": "Arrange a control with its label, explanation and errors.",
  "avoid": "A visible label alone does not establish a programmatic association.",
  "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:Field",
  "contentAlternative": "Legend, native label, description and error are text with explicit IDs. Orientation and error styling supplement these relations.",
  "updatesAndDescendants": "Field is role=group; FieldSet/Legend are native fieldset/legend. FieldError renders nothing without content, gives explicit children precedence over errors, deduplicates errors by message, and otherwise renders one message or a list with role=alert. It does not validate inputs or associate error IDs automatically.",
  "referenceDecision": "This reference supplies label-for and describedby IDs and requires readable error messages. Validation remains caller-owned. Group keyboard behavior comes from the child Input rather than a fabricated Field state machine.",
  "sourceCommit": "45bbf9ba23c9c0f63d38887947e5fb06f59c7da3",
  "sourceFiles": [
    "sources/shadcn/apps/v4/registry/bases/base/ui/field.tsx.source",
    "sources/shadcn/apps/v4/content/docs/components/base/field.mdx.source",
    "sources/shadcn/apps/v4/registry/bases/base/examples/field-example.tsx.source"
  ],
  "primitiveDocs": [],
  "visualContract": {
    "layoutPolicy": "Field maps the actual twelve semantic parts without conflating FieldTitle with FieldLabel: both emit data-slot=field-label, but only FieldLabel is a native label and their actual cn-field-title/cn-field-label classes distinguish identity. FieldSet/Legend retain native grouping. Browser evidence shows the native legend sits outside the fieldset anonymous flex content, so its native16px separation is applied explicitly as margin rather than relying on an ineffective container gap. Native field gap 8px, normal group gap 20px and set gap 16px remain independent semantic roles. Responsive layout follows source orientation classes and named container scope; 28rem is an explicit reference container threshold, not a static Figma measurement. Legend 16/24px, label 14/20px and readable error-list spacing are explicit reference typography/layout decisions where native instances are not expanded. FieldSeparator composes the actual Separator runtime data-orientation attribute. The caller owns native label/description/error IDs, input invalid/disabled state and validation. Source FieldError renders only meaningful children/errors, gives children precedence and deduplicates error messages; it does not create validation or IDs.",
    "parts": "component.json#/partBindings",
    "tokenBindings": "component.json#/visualContract/tokens",
    "sourceEvidence": "figma/traceability.json"
  }
}
