{
  "purpose": "Provide a supplementary visual label for a correctly named target on hover or keyboard focus.",
  "avoid": "Do not place required or independently interactive content only in a tooltip.",
  "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": "interactive-control/1",
  "profileRationale": "The family presents controls or navigation; static depictions do not establish an interactive contract.",
  "componentId": "shadcn:Tooltip",
  "sourceRule": "The source TooltipProvider wrapper defaults delay=0, while trigger/provider props can configure hover delay. disableHoverablePopup=false permits moving the pointer into the popup through the primitive safe-region logic. Disabled Root suppresses opening. Popup side=top, sideOffset=4, align=center, alignOffset=0. The package documentation calls tooltips visual-only and requires an appropriately named trigger; essential information uses inline text or an accessible Popover. This reference explicitly hides the redundant visual popup from assistive technology. Required help is persistent inline text; the trigger describedby relation points to that help, never solely to the visual popup.",
  "keyboardAndFocus": "Keyboard focus opens without hover delay; blur, Escape or trigger press can close. Focus never moves into the tooltip and there is no Tab trap. The trigger must carry an accessible name closely matching the visual label. The pinned primitive intentionally supplies a visual-only hint, not an automatic ARIA tooltip/description relationship.",
  "sourceCommit": "45bbf9ba23c9c0f63d38887947e5fb06f59c7da3",
  "sourceFiles": [
    "sources/shadcn/apps/v4/registry/bases/base/ui/tooltip.tsx.source",
    "sources/shadcn/apps/v4/content/docs/components/base/tooltip.mdx.source",
    "sources/shadcn/apps/v4/registry/bases/base/examples/tooltip-example.tsx.source"
  ],
  "primitiveDocs": [
    "sources/base-ui-1.9.0/docs/tooltip.md.source"
  ],
  "referenceDecisions": "One stable trigger/content ownership relation per shown instance; concrete labels and task children are caller supplied. Exact wrapper types retain optional handles/payloads/placement overrides. Complete describes this sufficient reference, not a full application/platform certification.",
  "visualContract": {
    "layoutPolicy": "Actual Tooltip portal positioning, collision handling and defaults remain primitive-owned; CSS does not recreate anchor coordinates. Native radius/insets are adopted as semantic popup metrics, while width is fluid with an explicit bounded maximum. Tooltip uses native 8px corners and 8/12px insets, inverse foreground/background colors, and its actual internal Arrow class. The chosen usage hides duplicate visual tooltip text from accessibility and provides essential help persistently with a real aria-describedby relation; this is an explicit accessible usage, not a claim the pinned source automatically creates that relation.",
    "parts": "component.json#/partBindings",
    "tokenBindings": "component.json#/visualContract/tokens",
    "sourceEvidence": "figma/traceability.json"
  }
}
