{
  "componentId": "shadcn:Checkbox",
  "purpose": "Choose a boolean option with an independent mixed-state presentation and native hidden form input.",
  "sourceCommit": "45bbf9ba23c9c0f63d38887947e5fb06f59c7da3",
  "primitiveVersion": "1.9.0",
  "sourceFiles": [
    "sources/shadcn/apps/v4/registry/bases/base/ui/checkbox.tsx.source",
    "sources/shadcn/apps/v4/content/docs/components/base/checkbox.mdx.source",
    "sources/shadcn/apps/v4/registry/bases/base/examples/checkbox-example.tsx.source"
  ],
  "primitiveDocs": [
    "sources/base-ui-1.9.0/docs/checkbox.md.source"
  ],
  "decisions": {
    "scope": "Sufficient source-bound React reference description; no certification of every consumer or native platform.",
    "normalizedProtocol": "SCXML events project source callbacks/native interactions. Send entries document the observed callback and are not additional DOM dispatches. The adapter supplies isCanceled after the source callback transaction. Controlled SET_VALUE/SET_CHECKED props remain authoritative.",
    "visual": "Native FIG observations and DTCG values remain visual truth. React styles may differ; no unverified pixel equivalence is assumed."
  },
  "visualContract": {
    "layoutPolicy": "The source span role control has a 16px square and14px indicator. Explicit caller field layout owns8px label spacing; this wrapper is not falsely attributed to upstream. Checked/mixed/disabled/error reflect actual native/ARIA/data attributes. No separate native mixed specimen is present in the pinned page; mixed is supported by the React API. Mixed state retains checked=false as separate authority; a deliberately chosen half-indicator-width CSS minus replaces the source check glyph for the source-supported indeterminate presentation, without changing the native event/value contract.",
    "parts": "component.json#/partBindings",
    "tokenBindings": "component.json#/visualContract/tokens",
    "sourceEvidence": "figma/traceability.json"
  }
}
