{
  "componentId": "shadcn:Bubble",
  "referenceComposition": "<div data-slot=\"bubble-group\"><div data-slot=\"bubble\" data-variant=\"default\" data-align=\"start\" class=\"cn-bubble cn-bubble-variant-default\"><div data-slot=\"bubble-content\"><p><span>Alex: </span>The report is ready.</p></div><div data-slot=\"bubble-reactions\" data-side=\"bottom\" data-align=\"end\"><button type=\"button\" aria-label=\"Like Alex’s message\" aria-pressed=\"false\">Like</button></div></div></div>",
  "sourceFacts": "Exact wrapper props/slots/native output from sources/react-api-inventory.json and pinned code.",
  "contentAlternative": "Speaker attribution and message content are readable text. Alignment and tint are redundant cues.",
  "updatesAndDescendants": "Bubble is a div composition with start/end alignment. BubbleContent can useRender a native action/link. BubbleReactions positions caller-provided controls; the component has no built-in reaction state, persistence or callback.",
  "referenceDecision": "The example reaction is an ordinary labelled Button owned by the caller; no fabricated like API is attached to Bubble.",
  "keyboard": "This default content wrapper does not install a keyboard listener or roving focus. Native links/buttons/inputs in the chosen children retain their own documented semantics. Label delegates native focus through its associated control.",
  "naming": "The HTML projection identifies all required visible content/labels. No unnecessary ARIA role/name is imposed on native text, headings, kbd or tables.",
  "semanticParts": {
    "group": {
      "kind": "element",
      "selector": "[data-slot=\"bubble-group\"]",
      "description": "Vertical group; spacing preserves room for reaction overhang."
    },
    "bubble": {
      "kind": "element",
      "selector": "[data-slot=\"bubble\"]",
      "description": "Actual variant/alignment-controlled message bubble."
    },
    "content": {
      "kind": "element",
      "selector": "[data-slot=\"bubble-content\"]",
      "description": "Actual content wrapper or explicit native render override."
    },
    "reactions": {
      "kind": "element",
      "selector": "[data-slot=\"bubble-reactions\"]",
      "description": "Actual positioned caller reaction controls/content; no built-in reaction state."
    }
  },
  "visualStateMapping": {
    "variant": {
      "prop": "variant",
      "attribute": "data-variant",
      "values": [
        "default",
        "secondary",
        "muted",
        "tinted",
        "outline",
        "ghost",
        "destructive"
      ]
    },
    "align": {
      "prop": "align",
      "attribute": "data-align",
      "values": [
        "start",
        "end"
      ]
    },
    "reactionSide": {
      "declaration": "BubbleReactions",
      "prop": "side",
      "attribute": "data-side",
      "values": [
        "top",
        "bottom"
      ]
    },
    "reactionAlign": {
      "declaration": "BubbleReactions",
      "prop": "align",
      "attribute": "data-align",
      "values": [
        "start",
        "end"
      ]
    }
  }
}
