{
  "id": "task_libraries:tooltip/javascript",
  "path": "/exapedia/javascript-tooltip-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript tooltip libraries",
  "answer": [
    {
      "t": "text",
      "text": "JavaScript tooltip libraries show a small label or popover next to an element on hover or keyboard focus. A positioning engine keeps the floating element attached to its anchor as the page scrolls or resizes. These libraries let web apps explain icons, controls, and truncated text without crowding the layout."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript tooltip libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#floating-ui-dom",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F132"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#radix-ui-react-tooltip",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F150"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#popper",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F170"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#base-ui-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F189"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mui-material",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-aria-components",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F225"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tippy-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F244"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F248"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#bootstrap",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F262"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F263"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F271"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#floating-ui-dom",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F2"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Focus-triggered UI",
            "Virtual anchors"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#floating-ui-dom",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F132"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#radix-ui-react-tooltip",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F150"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#popper",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F170"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#base-ui-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F189"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mui-material",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-aria-components",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F225"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tippy-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F244"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#bootstrap",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F262"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F272"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F273"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "floating-ui-dom",
          "name": [
            {
              "t": "fact",
              "fact": "F132"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/floating-ui/floating-ui"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@floating-ui/dom"
            },
            {
              "label": "Docs",
              "href": "https://floating-ui.com/docs/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F11"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://floating-ui.com/docs/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F132"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F12"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/Milkdown/milkdown",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F148"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "(reference: VirtualElement) => {\n    computePosition(reference, this.element, {\n      placement: this.#floatingUIOptions.placement ?? 'top',\n      middleware: [\n        flip(),\n        offset(this.#offset),\n        shift(this.#shift),\n        ...this.#middleware,\n      ],\n      ...this.#floatingUIOptions,\n    })\n      .then(({ x, y }) => {\n        Object.assign(this.element.style, {\n          left: `${x}px`,\n          top: `${y}px`,\n        })\n      })\n      .catch(console.error)\n  }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/Milkdown/milkdown/blob/68277b1a361ade2ba09996a623a4f4cb69d9b821/packages/plugins/plugin-tooltip/src/tooltip-provider.ts#L108-L126",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20%40floating-ui/dom%20for%20tooltip%20positioning%2C%20dynamic%20content%2C%20collision%20handling%20and%20lifecycle%20cleanup&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F132"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { computePosition } from \"@floating-ui/dom\";\nconst reference = document.getElementById(\"button\");\nconst floating = document.getElementById(\"tooltip\");\nif (!reference || !floating) throw new Error(\"Missing host elements\");\nfloating.style.position = \"absolute\";\nconst { x, y } = await computePosition(reference, floating);\nObject.assign(floating.style, { left: `${x}px`, top: `${y}px` });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/floating-ui/floating-ui/blob/master/website/pages/docs/computePosition.mdx",
                  "label": [
                    {
                      "t": "text",
                      "text": "computePosition.mdx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F137"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "radix-ui-react-tooltip",
          "name": [
            {
              "t": "fact",
              "fact": "F150"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/radix-ui/primitives"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@radix-ui/react-tooltip"
            },
            {
              "label": "Docs",
              "href": "https://www.radix-ui.com/primitives/docs/components/tooltip"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F157"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.radix-ui.com/primitives/docs/components/tooltip",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F150"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/calcom/cal.diy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F168"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "jsx",
              "code": "export function Tooltip({\n  children,\n  content,\n  open,\n  defaultOpen,\n  onOpenChange,\n  delayDuration,\n  side = \"top\",\n  ...props\n}: {\n  children: React.ReactNode;\n  content: React.ReactNode;\n  delayDuration?: number;\n  open?: boolean;\n  defaultOpen?: boolean;\n  side?: \"top\" | \"right\" | \"bottom\" | \"left\";\n  onOpenChange?: (open: boolean) => void;\n} & TooltipPrimitive.TooltipContentProps) {\n  const Content = (\n    <TooltipPrimitive.Content\n      {...props}\n      className={classNames(\n        \"calcom-tooltip\",\n        side === \"top\" && \"-mt-7\",\n        side === \"left\" && \"mr-2\",\n        side === \"right\" && \"ml-2\",\n        \"bg-inverted text-inverted relative z-50 rounded-sm px-2 py-1 text-xs font-semibold shadow-lg\",\n        props.className && `${props.className}`\n      )}\n      side={side}\n      align=\"center\">\n      {content}\n    </TooltipPrimitive.Content>\n  );\n\n  if (content === undefined || content === null || content === \"\") return <>{children}</>;\n\n  const trigger = React.isValidElement(children) ? children : <span>{children}</span>;\n\n  return (\n    <TooltipPrimitive.Root\n      delayDuration={delayDuration || 50}\n      open={open}\n      defaultOpen={defaultOpen}\n      onOpenChange={onOpenChange}>\n      <TooltipPrimitive.Trigger asChild>{trigger}</TooltipPrimitive.Trigger>\n      <TooltipPrimitive.Portal>{Content}</TooltipPrimitive.Portal>\n    </TooltipPrimitive.Root>\n  );\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/calcom/cal.com/blob/ae027bb70e694e2d2c44569f398d6cbcee0389b1/packages/ui/components/tooltip/Tooltip.tsx#L7-L56",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40radix-ui/react-tooltip%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F150"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "jsx",
              "code": "import * as Tooltip from \"@radix-ui/react-tooltip\";\nexport default function App() {\n  return <Tooltip.Provider><Tooltip.Root>\n    <Tooltip.Trigger>Help</Tooltip.Trigger>\n    <Tooltip.Portal><Tooltip.Content>Details</Tooltip.Content></Tooltip.Portal>\n  </Tooltip.Root></Tooltip.Provider>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://www.radix-ui.com/primitives/docs/components/tooltip",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.jsx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F155"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "popper",
          "name": [
            {
              "t": "fact",
              "fact": "F170"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/floating-ui/floating-ui"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@popperjs/core"
            },
            {
              "label": "Docs",
              "href": "https://popper.js.org/docs/v2/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F37"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://popper.js.org/docs/v2/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F170"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/element-plus/element-plus",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F187"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export const usePopper = (\n  referenceElementRef: Ref<ReferenceElement>,\n  popperElementRef: Ref<ElementType>,\n  opts: Ref<PartialOptions> | PartialOptions = {} as PartialOptions\n) => {\n  const stateUpdater = {\n    name: 'updateState',\n    enabled: true,\n    phase: 'write',\n    fn: ({ state }) => {\n      const derivedState = deriveState(state)\n\n      Object.assign(states.value, derivedState)\n    },\n    requires: ['computeStyles'],\n  } as Modifier<'updateState', any>\n\n  const options = computed<Options>(() => {\n    const { onFirstUpdate, placement, strategy, modifiers } = unref(opts)\n\n    return {\n      onFirstUpdate,\n      placement: placement || 'bottom',\n      strategy: strategy || 'absolute',\n      modifiers: [\n        ...(modifiers || []),\n        stateUpdater,\n        { name: 'applyStyles', enabled: false },\n      ],\n    }\n  })\n\n  const instanceRef = shallowRef<Instance | undefined>()\n  const states = ref<Pick<State, 'styles' | 'attributes'>>({\n    styles: {\n      popper: {\n        position: unref(options).strategy,\n        left: '0',\n        top: '0',\n      },\n      arrow: {\n        position: 'absolute',\n      },\n    },\n    attributes: {},\n  })\n\n  const destroy = () => {\n    if (!instanceRef.value) return\n\n    instanceRef.value.destroy()\n    instanceRef.value = undefined\n  }\n\n  watch(\n    options,\n    (newOptions) => {\n      const instance = unref(instanceRef)\n      if (instance) {\n        instance.setOptions(newOptions)\n      }\n    },\n    {\n      deep: true,\n    }\n  )\n\n  watch(\n    [referenceElementRef, popperElementRef],\n    ([referenceElement, popperElement]) => {\n      destroy()\n      if (!referenceElement || !popperElement) return\n\n      instanceRef.value = createPopper(\n        referenceElement,\n        popperElement,\n        unref(options)\n      )\n    }\n  )\n\n  onBeforeUnmount(() => {\n    destroy()\n  })\n\n  return {\n    state: computed(() => ({ ...(unref(instanceRef)?.state || {}) })),\n    styles: computed(() => unref(states).styles),\n    attributes: computed(() => unref(states).attributes),\n    update: () => unref(instanceRef)?.update(),\n    forceUpdate: () => unref(instanceRef)?.forceUpdate(),\n    // Preventing end users from modifying the instance.\n    instanceRef: computed(() => unref(instanceRef)),\n  }\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/element-plus/element-plus/blob/7c16480bcdbde9a91a1d818e716f0aac65ae4e25/packages/hooks/use-popper/index.ts#L18-L112",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F186"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20%40popperjs/core%20for%20tooltip%20positioning%2C%20dynamic%20content%2C%20collision%20handling%20and%20lifecycle%20cleanup&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F170"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { createPopper } from \"@popperjs/core\";\nconst reference = document.getElementById(\"button\");\nconst tooltip = document.getElementById(\"tooltip\");\nif (!reference || !tooltip) throw new Error(\"Missing host elements\");\nconst instance = createPopper(reference, tooltip);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/floating-ui/popper.js.org/blob/master/src/pages/docs/v2/tutorial.mdx",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F175"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "base-ui-react",
          "name": [
            {
              "t": "fact",
              "fact": "F189"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mui/base-ui"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@base-ui/react"
            },
            {
              "label": "Docs",
              "href": "https://base-ui.com/react/components/tooltip"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F196"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://base-ui.com/react/components/tooltip",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F189"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/shadcn-ui/ui",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F207"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "jsx",
              "code": "function TooltipContent({\n  className,\n  side = \"top\",\n  sideOffset = 4,\n  align = \"center\",\n  alignOffset = 0,\n  children,\n  ...props\n}: TooltipPrimitive.Popup.Props &\n  Pick<\n    TooltipPrimitive.Positioner.Props,\n    \"align\" | \"alignOffset\" | \"side\" | \"sideOffset\"\n  >) {\n  return (\n    <TooltipPrimitive.Portal>\n      <TooltipPrimitive.Positioner\n        align={align}\n        alignOffset={alignOffset}\n        side={side}\n        sideOffset={sideOffset}\n        className=\"isolate z-50\"\n      >\n        <TooltipPrimitive.Popup\n          data-slot=\"tooltip-content\"\n          className={cn(\n            \"cn-tooltip-content cn-tooltip-content-logical z-50 w-fit max-w-xs origin-(--transform-origin) bg-foreground text-background\",\n            className\n          )}\n          {...props}\n        >\n          {children}\n          <TooltipPrimitive.Arrow className=\"cn-tooltip-arrow cn-tooltip-arrow-logical z-50 bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5\" />\n        </TooltipPrimitive.Popup>\n      </TooltipPrimitive.Positioner>\n    </TooltipPrimitive.Portal>\n  )\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/shadcn-ui/ui/blob/968d8cb9dc42ae5d52e8fd356cf84596ec832a26/apps/v4/registry/bases/base/ui/tooltip.tsx#L27-L63",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F206"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40base-ui/react%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F189"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "jsx",
              "code": "import { Tooltip } from \"@base-ui/react/tooltip\";\nexport default function App() {\n  return <Tooltip.Provider><Tooltip.Root>\n    <Tooltip.Trigger>Help</Tooltip.Trigger>\n    <Tooltip.Portal><Tooltip.Positioner><Tooltip.Popup>Details</Tooltip.Popup></Tooltip.Positioner></Tooltip.Portal>\n  </Tooltip.Root></Tooltip.Provider>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://base-ui.com/react/components/tooltip",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.tsx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F194"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "mui-material",
          "name": [
            {
              "t": "fact",
              "fact": "F209"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mui/material-ui"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@mui/material"
            },
            {
              "label": "Docs",
              "href": "https://mui.com/material-ui/react-tooltip/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F216"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://mui.com/material-ui/react-tooltip/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F209"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "jsx",
              "code": "import Tooltip from \"@mui/material/Tooltip\";\nexport default function App() {\n  return <Tooltip title=\"Details\"><button>Help</button></Tooltip>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/mui/material-ui/blob/master/docs/data/material/components/tooltips/demos/basic/BasicTooltip.tsx",
                  "label": [
                    {
                      "t": "text",
                      "text": "BasicTooltip.tsx"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40mui/material%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F209"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F214"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "react-aria-components",
          "name": [
            {
              "t": "fact",
              "fact": "F225"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/adobe/react-spectrum"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/react-aria-components"
            },
            {
              "label": "Docs",
              "href": "https://react-spectrum.adobe.com/react-aria/Tooltip.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F232"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://react-spectrum.adobe.com/react-aria/Tooltip.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F225"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/actualbudget/actual",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F242"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "jsx",
              "code": "export const Tooltip = ({\n  children,\n  content,\n  triggerProps = {},\n  disablePointerEvents = false,\n  ...props\n}: TooltipProps) => {\n  const triggerRef = useRef(null);\n  const [isHovered, setIsHover] = useState(false);\n\n  const hoverTimeoutRef = useRef<ReturnType<typeof setTimeout>>(null);\n  const closeTimeoutRef = useRef<ReturnType<typeof setTimeout>>(null);\n\n  const handlePointerEnter = useCallback(() => {\n    if (closeTimeoutRef.current) {\n      clearTimeout(closeTimeoutRef.current);\n    }\n\n    const timeout = setTimeout(() => {\n      setIsHover(true);\n    }, triggerProps.delay ?? 300);\n\n    hoverTimeoutRef.current = timeout;\n  }, [triggerProps.delay]);\n\n  const handlePointerLeave = useCallback(() => {\n    if (hoverTimeoutRef.current) {\n      clearTimeout(hoverTimeoutRef.current);\n    }\n\n    closeTimeoutRef.current = setTimeout(() => {\n      setIsHover(false);\n    }, triggerProps.closeDelay ?? 0);\n  }, [triggerProps.closeDelay]);\n\n  // Force closing the tooltip whenever the disablement state changes\n  useEffect(() => {\n    setIsHover(false);\n  }, [triggerProps.isDisabled]);\n\n  return (\n    <View\n      style={{ minHeight: 'auto', flexShrink: 0, maxWidth: '100%' }}\n      ref={triggerRef}\n      onMouseEnter={handlePointerEnter}\n      onMouseLeave={handlePointerLeave}\n    >\n      <TooltipTrigger\n        isOpen={isHovered && !triggerProps.isDisabled}\n        {...triggerProps}\n      >\n        {children}\n\n        <AriaTooltip\n          triggerRef={triggerRef}\n          style={{\n            ...styles.tooltip,\n            ...(disablePointerEvents && { pointerEvents: 'none' }),\n          }}\n          {...props}\n        >\n          {content}\n        </AriaTooltip>\n      </TooltipTrigger>\n    </View>\n  );\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/actualbudget/actual/blob/1a016ddbb0ad0de4fb85aba48d0b5871d3ae1cd6/packages/component-library/src/Tooltip.tsx#L15-L81",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F241"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=react-aria-components%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F225"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "jsx",
              "code": "import { Button, Tooltip, TooltipTrigger } from \"react-aria-components\";\nexport default function App() {\n  return <TooltipTrigger><Button>Help</Button><Tooltip>Details</Tooltip></TooltipTrigger>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://react-spectrum.adobe.com/react-aria/Tooltip.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "Tooltip.tsx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F230"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "tippy-js",
          "name": [
            {
              "t": "fact",
              "fact": "F244"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/atomiks/tippyjs"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/tippy.js"
            },
            {
              "label": "Docs",
              "href": "https://atomiks.github.io/tippyjs/v6/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F62"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://atomiks.github.io/tippyjs/v6/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F244"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F260"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F261"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/go-gitea/gitea",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F260"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export function showTemporaryTooltip(target: Element, content: Content): void {\n  // if the target is inside a dropdown or tippy popup, the menu will be hidden soon\n  // so display the tooltip on the \"aria-controls\" element or dropdown instead\n  let refClientRect: DOMRect | undefined;\n  const popupTippyId = target.closest(`[data-tippy-root]`)?.id;\n  if (popupTippyId) {\n    // for example, the \"Copy Permalink\" button in the \"File View\" page for the selected lines\n    target = document.body;\n    refClientRect = document.querySelector(`[aria-controls=\"${CSS.escape(popupTippyId)}\"]`)?.getBoundingClientRect();\n    refClientRect = refClientRect ?? new DOMRect(0, 0, 0, 0); // fallback to empty rect if not found, tippy doesn't accept null\n  } else {\n    // for example, the \"Copy Link\" button in the issue header dropdown menu\n    target = target.closest('.ui.dropdown') ?? target;\n    refClientRect = target.getBoundingClientRect();\n  }\n  const tooltipTippy = target._tippy ?? attachTooltip(target, content);\n  tooltipTippy.setContent(content);\n  tooltipTippy.setProps({getReferenceClientRect: () => refClientRect});\n  if (!tooltipTippy.state.isShown) tooltipTippy.show();\n\n  tooltipTippy.setProps({\n    onHidden: (tippy) => {\n      // reset the default tooltip content, if no default, then this temporary tooltip could be destroyed\n      if (!attachTooltip(target)) {\n        tippy.destroy();\n      }\n    },\n  });\n\n  // on elements where the tooltip is re-located like \"Copy Link\" inside fomantic dropdowns, tippy.js gets\n  // no `mouseout` event and the tooltip stays visible, hide it with timeout.\n  if (!popupTippyId) {\n    setTimeout(() => {\n      if (tooltipTippy.state.isVisible) tooltipTippy.hide();\n    }, 1500);\n  }\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/go-gitea/gitea/blob/edd0c0e2cee34e5c13d563ceef83fe65c0e1d089/web_src/js/modules/tippy.ts#L280-L316",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F259"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20tippy.js%20for%20tooltip%20positioning%2C%20dynamic%20content%2C%20collision%20handling%20and%20lifecycle%20cleanup&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F244"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import tippy from \"tippy.js\";\nimport \"tippy.js/dist/tippy.css\";\n\ntippy(\"#button\", { content: \"Details\" });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://atomiks.github.io/tippyjs/v6/all-props/",
                  "label": [
                    {
                      "t": "text",
                      "text": "getting-started.mdx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F249"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "bootstrap",
          "name": [
            {
              "t": "fact",
              "fact": "F262"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/twbs/bootstrap"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/bootstrap"
            },
            {
              "label": "Docs",
              "href": "https://getbootstrap.com/docs/5.3/components/tooltips/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F269"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F263"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F271"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://getbootstrap.com/docs/5.3/components/tooltips/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F262"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F279"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F280"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/phpmyadmin/phpmyadmin",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F279"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export function showHints ($div: JQuery<HTMLElement> | undefined = undefined) {\n    if ($('#no_hint').length > 0) {\n        return;\n    }\n\n    let $newDiv = $div;\n    if ($newDiv === undefined || ! ($newDiv instanceof $) || $newDiv.length === 0) {\n        $newDiv = $('body');\n    }\n\n    $newDiv.get(0).querySelectorAll('.pma_hint').forEach((hintElement: HTMLElement): void => {\n        const content = hintElement.querySelector('span').textContent;\n        bootstrap.Tooltip.getOrCreateInstance(hintElement, { title: content })\n            .setContent({ '.tooltip-inner': content });\n    });\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/phpmyadmin/phpmyadmin/blob/d35ebc6d0671e19f1d40bd40e5a8806775d6f3d9/resources/js/modules/functions.ts#L2888-L2903",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F278"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=bootstrap%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F262"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { Tooltip } from \"bootstrap\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nconst trigger = document.getElementById(\"button\");\nif (!trigger) throw new Error(\"Missing trigger\");\nconst tooltip = new Tooltip(trigger, { title: \"Details\" });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://getbootstrap.com/docs/5.3/components/tooltips/",
                  "label": [
                    {
                      "t": "text",
                      "text": "tooltips.mdx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F267"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which JavaScript tooltip library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#floating-ui-dom",
          "label": [
            {
              "t": "text",
              "text": "Floating UI"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits custom tooltips that need positioning only. "
        },
        {
          "t": "link",
          "href": "#radix-ui-react-tooltip",
          "label": [
            {
              "t": "text",
              "text": "Radix UI Tooltip"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits React apps that want an accessible tooltip component. "
        },
        {
          "t": "link",
          "href": "#tippy-js",
          "label": [
            {
              "t": "text",
              "text": "Tippy.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits pages that want ready-made tooltips without a framework."
        }
      ]
    },
    {
      "q": "How do I add a tooltip in React?",
      "a": [
        {
          "t": "link",
          "href": "#radix-ui-react-tooltip",
          "label": [
            {
              "t": "text",
              "text": "Radix UI Tooltip"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#base-ui-react",
          "label": [
            {
              "t": "text",
              "text": "Base UI"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#react-aria-components",
          "label": [
            {
              "t": "text",
              "text": "React Aria Components"
            }
          ]
        },
        {
          "t": "text",
          "text": ", and "
        },
        {
          "t": "link",
          "href": "#mui-material",
          "label": [
            {
              "t": "text",
              "text": "Material UI"
            }
          ]
        },
        {
          "t": "text",
          "text": " provide tooltip components for React. Floating UI also ships React hooks for custom tooltips."
        }
      ]
    },
    {
      "q": "What is Floating UI?",
      "a": [
        {
          "t": "link",
          "href": "#floating-ui-dom",
          "label": [
            {
              "t": "text",
              "text": "Floating UI"
            }
          ]
        },
        {
          "t": "text",
          "text": " positions floating elements such as tooltips and popovers next to an anchor element. It is the successor to "
        },
        {
          "t": "link",
          "href": "#popper",
          "label": [
            {
              "t": "text",
              "text": "Popper"
            }
          ]
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "q": "How do Bootstrap tooltips work?",
      "a": [
        {
          "t": "link",
          "href": "#bootstrap",
          "label": [
            {
              "t": "text",
              "text": "Bootstrap"
            }
          ]
        },
        {
          "t": "text",
          "text": " tooltips are opt-in and start from JavaScript on elements that carry a tooltip data attribute. Bootstrap positions them with Popper."
        }
      ]
    },
    {
      "q": "How do I make tooltips accessible?",
      "a": [
        {
          "t": "text",
          "text": "Show the tooltip on keyboard focus as well as hover, and link it to its trigger with aria-describedby. "
        },
        {
          "t": "link",
          "href": "#radix-ui-react-tooltip",
          "label": [
            {
              "t": "text",
              "text": "Radix UI Tooltip"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#react-aria-components",
          "label": [
            {
              "t": "text",
              "text": "React Aria Components"
            }
          ]
        },
        {
          "t": "text",
          "text": " handle focus, dismissal, and ARIA attributes."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, @floating-ui/dom",
      "display": "Floating UI DOM",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, @floating-ui/dom",
      "display": "525.8M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, @floating-ui/dom",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, @floating-ui/dom",
      "display": "1.8.0",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, @floating-ui/dom",
      "display": "v1.8.0",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, @floating-ui/dom",
      "display": "32.8K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Flips near viewport, @floating-ui/dom",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Positions an arrow, @floating-ui/dom",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Updates during scroll, @floating-ui/dom",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Install, @floating-ui/dom",
      "display": "npm install @floating-ui/dom",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "What it does, @floating-ui/dom",
      "display": "Provides positioning tools for anchored floating elements, including tooltips and popovers.",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "strengths lead, @floating-ui/dom",
      "display": "Keeps floating elements anchored",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths, @floating-ui/dom",
      "display": "Use autoUpdate to refresh positioning during scrolling and resizing.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, @floating-ui/dom",
      "display": "Controls viewport collision behavior",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, @floating-ui/dom",
      "display": "Add flip to change placement when the tooltip overflows.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "limitations lead, @floating-ui/dom",
      "display": "DOM interactions need application code",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations, @floating-ui/dom",
      "display": "Add the hover and focus handlers that show and hide tooltips.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations lead, @floating-ui/dom",
      "display": "Automatic updates need cleanup",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations, @floating-ui/dom",
      "display": "Stop autoUpdate when the floating element is removed.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "Quickstart, @floating-ui/dom",
      "display": "import {\n  computePosition,\n  flip,\n  shift,\n  offset,\n} from 'https://cdn.jsdelivr.net/npm/@floating-ui/dom@1.8.0/+esm';\n \nconst button = document.querySelector('#button');\nconst tooltip = document.querySelector('#tooltip');\n \ncomputePosition(button, tooltip, {\n  placement: 'top',\n  middleware: [offset(6), flip(), shift({padding: 5})],\n}).then(({x, y}) => {\n  Object.assign(tooltip.style, {\n    left: `${x}px`,\n    top: `${y}px`,\n  });\n});\n",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Project function, @floating-ui/dom",
      "display": "(reference: VirtualElement) => {\n    computePosition(reference, this.element, {\n      placement: this.#floatingUIOptions.placement ?? 'top',\n      middleware: [\n        flip(),\n        offset(this.#offset),\n        shift(this.#shift),\n        ...this.#middleware,\n      ],\n      ...this.#floatingUIOptions,\n    })\n      .then(({ x, y }) => {\n        Object.assign(this.element.style, {\n          left: `${x}px`,\n          top: `${y}px`,\n        })\n      })\n      .catch(console.error)\n  }\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function reference, @floating-ui/dom",
      "display": "tooltip-provider.ts · updatePosition()",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project repository, @floating-ui/dom",
      "display": "Milkdown/milkdown",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project stars, Milkdown/milkdown",
      "display": "12.1K",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project push date, Milkdown/milkdown",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F26": {
      "label": "Library name, @popperjs/core",
      "display": "Popper",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "Monthly downloads, @popperjs/core",
      "display": "119.2M",
      "asOf": "2026-11-15"
    },
    "F28": {
      "label": "License, @popperjs/core",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Package release, @popperjs/core",
      "display": "2.11.8",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Undated package release, @popperjs/core",
      "display": "v2.11.8",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Repository stars, @popperjs/core",
      "display": "32.8K",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Flips near viewport, @popperjs/core",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Positions an arrow, @popperjs/core",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Updates during scroll, @popperjs/core",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Adds tooltip triggers, @popperjs/core",
      "display": "Unsupported",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Install, @popperjs/core",
      "display": "npm install @popperjs/core",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "What it does, @popperjs/core",
      "display": "Positions tooltip and popover elements next to reference elements.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths lead, @popperjs/core",
      "display": "Flips overflowing tooltips",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths, @popperjs/core",
      "display": "Change to the opposite placement when the preferred side cannot fit.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths lead, @popperjs/core",
      "display": "Tracks scrolling and resizing",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths, @popperjs/core",
      "display": "The eventListeners modifier updates placement on scroll and resize.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations lead, @popperjs/core",
      "display": "Is no longer maintained",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations, @popperjs/core",
      "display": "Use Floating UI for new code; Popper remains relevant to existing integrations.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations lead, @popperjs/core",
      "display": "Lite omits collision modifiers",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations, @popperjs/core",
      "display": "Import flip and preventOverflow explicitly when using Popper Lite.",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Quickstart, @popperjs/core",
      "display": "<!DOCTYPE html>\n<title>Popper example</title>\n\n<style>\n  #tooltip {\n    background-color: #333;\n    color: white;\n    padding: 5px 10px;\n    border-radius: 4px;\n    font-size: 13px;\n  }\n</style>\n\n<button id=\"button\" aria-describedby=\"tooltip\">I'm a button</button>\n<div id=\"tooltip\" role=\"tooltip\">I'm a tooltip</div>\n\n<script src=\"https://unpkg.com/@popperjs/core@2\"></script>\n<script>\n  const button = document.querySelector('#button');\n  const tooltip = document.querySelector('#tooltip');\n\n  // Pass the button, the tooltip, and some options, and Popper will do the\n  // magic positioning for you:\n  Popper.createPopper(button, tooltip, {\n    placement: 'right',\n  });\n</script>\n",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project function, @popperjs/core",
      "display": "export const usePopper = (\n  referenceElementRef: Ref<ReferenceElement>,\n  popperElementRef: Ref<ElementType>,\n  opts: Ref<PartialOptions> | PartialOptions = {} as PartialOptions\n) => {\n  const stateUpdater = {\n    name: 'updateState',\n    enabled: true,\n    phase: 'write',\n    fn: ({ state }) => {\n      const derivedState = deriveState(state)\n\n      Object.assign(states.value, derivedState)\n    },\n    requires: ['computeStyles'],\n  } as Modifier<'updateState', any>\n\n  const options = computed<Options>(() => {\n    const { onFirstUpdate, placement, strategy, modifiers } = unref(opts)\n\n    return {\n      onFirstUpdate,\n      placement: placement || 'bottom',\n      strategy: strategy || 'absolute',\n      modifiers: [\n        ...(modifiers || []),\n        stateUpdater,\n        { name: 'applyStyles', enabled: false },\n      ],\n    }\n  })\n\n  const instanceRef = shallowRef<Instance | undefined>()\n  const states = ref<Pick<State, 'styles' | 'attributes'>>({\n    styles: {\n      popper: {\n        position: unref(options).strategy,\n        left: '0',\n        top: '0',\n      },\n      arrow: {\n        position: 'absolute',\n      },\n    },\n    attributes: {},\n  })\n\n  const destroy = () => {\n    if (!instanceRef.value) return\n\n    instanceRef.value.destroy()\n    instanceRef.value = undefined\n  }\n\n  watch(\n    options,\n    (newOptions) => {\n      const instance = unref(instanceRef)\n      if (instance) {\n        instance.setOptions(newOptions)\n      }\n    },\n    {\n      deep: true,\n    }\n  )\n\n  watch(\n    [referenceElementRef, popperElementRef],\n    ([referenceElement, popperElement]) => {\n      destroy()\n      if (!referenceElement || !popperElement) return\n\n      instanceRef.value = createPopper(\n        referenceElement,\n        popperElement,\n        unref(options)\n      )\n    }\n  )\n\n  onBeforeUnmount(() => {\n    destroy()\n  })\n\n  return {\n    state: computed(() => ({ ...(unref(instanceRef)?.state || {}) })),\n    styles: computed(() => unref(states).styles),\n    attributes: computed(() => unref(states).attributes),\n    update: () => unref(instanceRef)?.update(),\n    forceUpdate: () => unref(instanceRef)?.forceUpdate(),\n    // Preventing end users from modifying the instance.\n    instanceRef: computed(() => unref(instanceRef)),\n  }\n}\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function reference, @popperjs/core",
      "display": "index.ts · usePopper()",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project repository, @popperjs/core",
      "display": "element-plus/element-plus",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project stars, element-plus/element-plus",
      "display": "27.9K",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project push date, element-plus/element-plus",
      "display": "Nov 2026",
      "asOf": "2026-11-15"
    },
    "F52": {
      "label": "Library name, tippy.js",
      "display": "Tippy.js",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Monthly downloads, tippy.js",
      "display": "32.0M",
      "asOf": "2026-11-15"
    },
    "F54": {
      "label": "License, tippy.js",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Package release, tippy.js",
      "display": "6.3.7",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Undated package release, tippy.js",
      "display": "v6.3.7",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Repository stars, tippy.js",
      "display": "12.2K",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Flips near viewport, tippy.js",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Positions an arrow, tippy.js",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Adds tooltip triggers, tippy.js",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Install, tippy.js",
      "display": "npm install tippy.js",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "What it does, tippy.js",
      "display": "Provides tooltip, popover, dropdown, and menu components.",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "strengths lead, tippy.js",
      "display": "Includes hover and focus triggers",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "strengths, tippy.js",
      "display": "Mouse hover and keyboard focus both open tooltips by default.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, tippy.js",
      "display": "Supports interactive tooltip content",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, tippy.js",
      "display": "Allow users to hover and click inside the tooltip.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "limitations lead, tippy.js",
      "display": "Custom popup placement needs care",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "limitations, tippy.js",
      "display": "Moving an interactive popup outside its parent requires focus management.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations lead, tippy.js",
      "display": "HTML content needs sanitizing",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations, tippy.js",
      "display": "Sanitize user-supplied HTML before passing it as tooltip content.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Quickstart, tippy.js",
      "display": "<html>\n  <head>\n    <title>Tippy</title>\n  </head>\n  <body>\n    <button id=\"myButton\">My button</button>\n\n    <script src=\"https://unpkg.com/@popperjs/core@2\"></script>\n    <script src=\"https://unpkg.com/tippy.js@6\"></script>\n    <script>\n      // With the above scripts loaded, you can call `tippy()` with a CSS\n      // selector and a `content` prop:\n      tippy('#myButton', {\n        content: 'My tooltip!',\n      });\n    </script>\n  </body>\n</html>\n",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project function, tippy.js",
      "display": "export function showTemporaryTooltip(target: Element, content: Content): void {\n  // if the target is inside a dropdown or tippy popup, the menu will be hidden soon\n  // so display the tooltip on the \"aria-controls\" element or dropdown instead\n  let refClientRect: DOMRect | undefined;\n  const popupTippyId = target.closest(`[data-tippy-root]`)?.id;\n  if (popupTippyId) {\n    // for example, the \"Copy Permalink\" button in the \"File View\" page for the selected lines\n    target = document.body;\n    refClientRect = document.querySelector(`[aria-controls=\"${CSS.escape(popupTippyId)}\"]`)?.getBoundingClientRect();\n    refClientRect = refClientRect ?? new DOMRect(0, 0, 0, 0); // fallback to empty rect if not found, tippy doesn't accept null\n  } else {\n    // for example, the \"Copy Link\" button in the issue header dropdown menu\n    target = target.closest('.ui.dropdown') ?? target;\n    refClientRect = target.getBoundingClientRect();\n  }\n  const tooltipTippy = target._tippy ?? attachTooltip(target, content);\n  tooltipTippy.setContent(content);\n  tooltipTippy.setProps({getReferenceClientRect: () => refClientRect});\n  if (!tooltipTippy.state.isShown) tooltipTippy.show();\n\n  tooltipTippy.setProps({\n    onHidden: (tippy) => {\n      // reset the default tooltip content, if no default, then this temporary tooltip could be destroyed\n      if (!attachTooltip(target)) {\n        tippy.destroy();\n      }\n    },\n  });\n\n  // on elements where the tooltip is re-located like \"Copy Link\" inside fomantic dropdowns, tippy.js gets\n  // no `mouseout` event and the tooltip stays visible, hide it with timeout.\n  if (!popupTippyId) {\n    setTimeout(() => {\n      if (tooltipTippy.state.isVisible) tooltipTippy.hide();\n    }, 1500);\n  }\n}\n",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project function reference, tippy.js",
      "display": "tippy.ts · showTemporaryTooltip()",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project repository, tippy.js",
      "display": "go-gitea/gitea",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project stars, go-gitea/gitea",
      "display": "59.1K",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Project push date, go-gitea/gitea",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F77": {
      "label": "Library name, tooltipster",
      "display": "Tooltipster",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Monthly downloads, tooltipster",
      "display": "98.6K",
      "asOf": "2026-11-15"
    },
    "F79": {
      "label": "License, tooltipster",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Package release, tooltipster",
      "display": "4.2.8",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Undated package release, tooltipster",
      "display": "v4.2.8",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Repository stars, tooltipster",
      "display": "2.7K",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Flips near viewport, tooltipster",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Positions an arrow, tooltipster",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Updates during scroll, tooltipster",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Adds tooltip triggers, tooltipster",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "Install, tooltipster",
      "display": "npm install tooltipster jquery",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "What it does, tooltipster",
      "display": "Provides customizable jQuery tooltips with extensible behavior.",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths lead, tooltipster",
      "display": "Displays rich HTML content",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "strengths, tooltipster",
      "display": "Include images and formatted text inside tooltips.",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "strengths lead, tooltipster",
      "display": "Customizes open and close triggers",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "strengths, tooltipster",
      "display": "Choose different events for opening and closing a tooltip.",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "limitations lead, tooltipster",
      "display": "Requires a jQuery dependency",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "limitations, tooltipster",
      "display": "Load jQuery alongside Tooltipster and its stylesheet.",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "limitations lead, tooltipster",
      "display": "Shared HTML needs cloning",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "limitations, tooltipster",
      "display": "Enable contentCloning when multiple tooltips reuse the same HTML element.",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Quickstart, tooltipster",
      "display": "$(document).ready(function() {\r\n            $('.tooltip').tooltipster();\r\n        });",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Developer need",
      "display": "Hover and focus tooltips",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Why choose tippy.js",
      "display": "built-in triggers and interactive content",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need in introduction",
      "display": "hover and focus tooltips",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need",
      "display": "New positioning integrations",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Why choose @floating-ui/dom",
      "display": "composable collision handling and automatic updates",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need in introduction",
      "display": "new positioning integrations",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "When to consider tippy.js",
      "display": "built-in tooltip triggers and rendering are preferable",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need",
      "display": "Existing Popper applications",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Why choose @popperjs/core",
      "display": "maintaining an existing Popper positioning integration",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need in introduction",
      "display": "existing Popper applications",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "When to consider @floating-ui/dom",
      "display": "starting a new positioning integration",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need",
      "display": "Existing jQuery interfaces",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Why choose tooltipster",
      "display": "rich content and configurable tooltip triggers",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Developer need in introduction",
      "display": "existing jQuery interfaces",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "When to consider tippy.js",
      "display": "a tooltip component should avoid a jQuery dependency",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Page introduction",
      "display": "JavaScript tooltip libraries let web developers position contextual hints and popovers.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Which JavaScript tooltip library should I choose?",
      "display": "Tippy includes mouse-hover and keyboard-focus triggers.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Which JavaScript tooltip library should I choose?",
      "display": "Floating UI offers positioning tools for anchored floating elements.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Which JavaScript tooltip library should I choose?",
      "display": "The Popper archive recommends Floating UI for new code.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Which JavaScript tooltip library should I choose?",
      "display": "Tooltipster adds tooltips to an existing jQuery interface.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Is Popper still maintained?",
      "display": "The official archive states that Popper is no longer maintained.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Is Popper still maintained?",
      "display": "It recommends Floating UI for new code.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Does Floating UI DOM include the React interaction hooks?",
      "display": "The React package supplies interaction hooks and components.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Does Floating UI DOM include the React interaction hooks?",
      "display": "The vanilla tutorial implements tooltip show and hide handlers in application code.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: How does Floating UI keep a tooltip anchored during scrolling?",
      "display": "autoUpdate adds listeners that refresh positioning when needed.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: How does Floating UI keep a tooltip anchored during scrolling?",
      "display": "Start updates only while the floating element is open, and clean up after removal.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Does Tippy open tooltips for keyboard users?",
      "display": "Its default trigger includes keyboard focus as well as mouse hover.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Does Tippy open tooltips for keyboard users?",
      "display": "Use natively focusable trigger elements or give suitable elements a tabindex.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: What changes when a Tippy popup is appended outside its parent?",
      "display": "Interactive popups placed outside the parent context need a focus-management solution.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Can Tippy display HTML content?",
      "display": "allowHTML determines whether string content is parsed as HTML.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Can Tippy display HTML content?",
      "display": "User-supplied HTML must be sanitized.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: Does Popper Lite include overflow prevention and flipping?",
      "display": "Lite omits preventOverflow and flip; import them explicitly when needed.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: Does Tooltipster reposition tooltips on scroll by default?",
      "display": "Its repositionOnScroll option is false by default.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "FAQ: Can multiple Tooltipster tooltips share the same HTML element?",
      "display": "Enable contentCloning when multiple tooltips refer to the same content element.",
      "asOf": "2026-11-17"
    },
    "F132": {
      "label": "Library name, @floating-ui/dom",
      "display": "@floating-ui/dom",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Monthly downloads, @floating-ui/dom",
      "display": "539.0M",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "License, @floating-ui/dom",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Package release, @floating-ui/dom",
      "display": "1.8.0",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Package release date, @floating-ui/dom",
      "display": "Jul 2026",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Install, @floating-ui/dom",
      "display": "npm install @floating-ui/dom",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Quickstart, @floating-ui/dom",
      "display": "import { computePosition } from \"@floating-ui/dom\";\nconst reference = document.getElementById(\"button\");\nconst floating = document.getElementById(\"tooltip\");\nif (!reference || !floating) throw new Error(\"Missing host elements\");\nfloating.style.position = \"absolute\";\nconst { x, y } = await computePosition(reference, floating);\nObject.assign(floating.style, { left: `${x}px`, top: `${y}px` });\n",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Repository stars, @floating-ui/dom",
      "display": "32.8K",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Focus-triggered UI, @floating-ui/dom",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Virtual anchors, @floating-ui/dom",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "SDK layer and host framework, @floating-ui/dom",
      "display": "Framework-independent DOM positioning engine and middleware; visible/focus/ARIA tooltip behavior remains application work.",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "First-call and visible UI prerequisites, @floating-ui/dom",
      "display": "[\"Positioning-engine first call only. Browser ES-module/bundler with real already-mounted button#button and measurable HTMLElement#tooltip; popup must not be display:none during measurement. Caller supplies content,CSS,show/hide events,focus policy,ARIA description,and cleanup. This is not falsely presented as a complete visible tooltip widget.\"]",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Interaction and reference contract, @floating-ui/dom",
      "display": "{\"Focus-triggered UI\": \"Selected DOM geometry package does not supply a trigger widget or focus state machine. Official tutorial explicitly wires host focus/show handlers; separate React bindings are related packages,not this native DOM API.\", \"Virtual anchors\": \"Native reference can be a geometry-only VirtualElement with getBoundingClientRect and optional contextElement.\"}",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Actual project API contract, @floating-ui/dom",
      "display": "{\"status\": \"verified\", \"arguments\": \"Exact whole ORIGINAL Milkdown private arrow initializer #updatePosition,not a renamed public function. Public module imports native computePosition,flip,offset,shift from @floating-ui/dom. Current1.8 accepts Element|VirtualElement reference,HTMLElement floating node,and options with placement/middleware. Numeric/function offset and shift options use current middleware contracts. Later ...floatingUIOptions can override defaults,so configured options must remain valid and middleware ordering is host policy.\", \"used_return_shapes\": \"computePosition returns a promise with numeric x,y consumed by the exact .then handler and assigned as pixel left/top. A current failed calculation is logged by source.catch. Browser DOM,positioned CSS,real measured virtual rectangle,and editor selection geometry are host prerequisites. The original class separately implements show/hide/selection eligibility; this geometry helper alone is not a complete accessible visible tooltip.\"}",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Project function, @floating-ui/dom",
      "display": "(reference: VirtualElement) => {\n    computePosition(reference, this.element, {\n      placement: this.#floatingUIOptions.placement ?? 'top',\n      middleware: [\n        flip(),\n        offset(this.#offset),\n        shift(this.#shift),\n        ...this.#middleware,\n      ],\n      ...this.#floatingUIOptions,\n    })\n      .then(({ x, y }) => {\n        Object.assign(this.element.style, {\n          left: `${x}px`,\n          top: `${y}px`,\n        })\n      })\n      .catch(console.error)\n  }\n",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Project source file, @floating-ui/dom",
      "display": "packages/plugins/plugin-tooltip/src/tooltip-provider.ts",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Project full_name, @floating-ui/dom",
      "display": "Milkdown/milkdown",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Project stargazers_count, @floating-ui/dom",
      "display": "12.1K",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Library name, @radix-ui/react-tooltip",
      "display": "@radix-ui/react-tooltip",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Monthly downloads, @radix-ui/react-tooltip",
      "display": "272.6M",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "License, @radix-ui/react-tooltip",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Package release, @radix-ui/react-tooltip",
      "display": "1.4.1",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Package release date, @radix-ui/react-tooltip",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Install, @radix-ui/react-tooltip",
      "display": "npm install @radix-ui/react-tooltip",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Quickstart, @radix-ui/react-tooltip",
      "display": "import * as Tooltip from \"@radix-ui/react-tooltip\";\nexport default function App() {\n  return <Tooltip.Provider><Tooltip.Root>\n    <Tooltip.Trigger>Help</Tooltip.Trigger>\n    <Tooltip.Portal><Tooltip.Content>Details</Tooltip.Content></Tooltip.Portal>\n  </Tooltip.Root></Tooltip.Provider>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Official description, @radix-ui/react-tooltip",
      "display": "Shows information about an element when it receives keyboard focus or mouse hover.",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Quickstart source file, @radix-ui/react-tooltip",
      "display": "index.jsx",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Repository stars, @radix-ui/react-tooltip",
      "display": "19.5K",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Focus-triggered UI, @radix-ui/react-tooltip",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Virtual anchors, @radix-ui/react-tooltip",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "SDK layer and host framework, @radix-ui/react-tooltip",
      "display": "React headless tooltip interaction/composition primitives; Provider,Root,Trigger,Content,and Portal with application styling.",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "First-call and visible UI prerequisites, @radix-ui/react-tooltip",
      "display": "[\"Existing compatible React/ReactDOM browser app and React root. Unstyled primitive: supply content/trigger CSS and a focusable/ref-compatible trigger. Provider wraps the Root; keyboard and pointer state belong to this SDK,not the Floating UI DOM engine.\"]",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Interaction and reference contract, @radix-ui/react-tooltip",
      "display": "{\"Focus-triggered UI\": \"Root/Trigger manage keyboard focus tooltip interactions when correctly composed with Provider and accessible child/ref behavior.\", \"Virtual anchors\": \"Bounded Tooltip Trigger API anchors through a real button/asChild DOM element. It exposes no arbitrary VirtualElement rectangle-reference prop; internal Popper Anchor capabilities are not relabelled as public Tooltip support.\"}",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Actual project API contract, @radix-ui/react-tooltip",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole Cal.com Tooltip wrapper imports the exact @radix-ui/react-tooltip namespace. Current1.4.1 Root accepts controlled/default open,onOpenChange,and delayDuration; Trigger asChild requires a single compatible element supporting refs/events. Content accepts side,align,className,and forwarded TooltipContentProps; Portal places rendered content in the configured DOM container. Ancestor Tooltip.Provider is required. Source uses delayDuration||50,so explicit0 becomes50; this host behavior is retained.\", \"used_return_shapes\": \"Native JSX components produce React elements; children/content may be ReactNode. Empty content returns children without SDK UI. Source wraps non-element children in a span and renders content through Portal. Ref forwarding/focusability of custom children and portal CSS remain caller requirements; no universal accessibility guarantee inferred.\"}",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Project function, @radix-ui/react-tooltip",
      "display": "export function Tooltip({\n  children,\n  content,\n  open,\n  defaultOpen,\n  onOpenChange,\n  delayDuration,\n  side = \"top\",\n  ...props\n}: {\n  children: React.ReactNode;\n  content: React.ReactNode;\n  delayDuration?: number;\n  open?: boolean;\n  defaultOpen?: boolean;\n  side?: \"top\" | \"right\" | \"bottom\" | \"left\";\n  onOpenChange?: (open: boolean) => void;\n} & TooltipPrimitive.TooltipContentProps) {\n  const Content = (\n    <TooltipPrimitive.Content\n      {...props}\n      className={classNames(\n        \"calcom-tooltip\",\n        side === \"top\" && \"-mt-7\",\n        side === \"left\" && \"mr-2\",\n        side === \"right\" && \"ml-2\",\n        \"bg-inverted text-inverted relative z-50 rounded-sm px-2 py-1 text-xs font-semibold shadow-lg\",\n        props.className && `${props.className}`\n      )}\n      side={side}\n      align=\"center\">\n      {content}\n    </TooltipPrimitive.Content>\n  );\n\n  if (content === undefined || content === null || content === \"\") return <>{children}</>;\n\n  const trigger = React.isValidElement(children) ? children : <span>{children}</span>;\n\n  return (\n    <TooltipPrimitive.Root\n      delayDuration={delayDuration || 50}\n      open={open}\n      defaultOpen={defaultOpen}\n      onOpenChange={onOpenChange}>\n      <TooltipPrimitive.Trigger asChild>{trigger}</TooltipPrimitive.Trigger>\n      <TooltipPrimitive.Portal>{Content}</TooltipPrimitive.Portal>\n    </TooltipPrimitive.Root>\n  );\n}\n",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Project source file, @radix-ui/react-tooltip",
      "display": "packages/ui/components/tooltip/Tooltip.tsx",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Project full_name, @radix-ui/react-tooltip",
      "display": "calcom/cal.diy",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Project stargazers_count, @radix-ui/react-tooltip",
      "display": "50.2K",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Library name, @popperjs/core",
      "display": "Popper",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Monthly downloads, @popperjs/core",
      "display": "123.1M",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "License, @popperjs/core",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Package release, @popperjs/core",
      "display": "2.11.8",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Package release date, @popperjs/core",
      "display": "May 2023",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Install, @popperjs/core",
      "display": "npm i @popperjs/core",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Quickstart, @popperjs/core",
      "display": "import { createPopper } from \"@popperjs/core\";\nconst reference = document.getElementById(\"button\");\nconst tooltip = document.getElementById(\"tooltip\");\nif (!reference || !tooltip) throw new Error(\"Missing host elements\");\nconst instance = createPopper(reference, tooltip);\n",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Repository stars, @popperjs/core",
      "display": "32.8K",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Focus-triggered UI, @popperjs/core",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Virtual anchors, @popperjs/core",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "SDK layer and host framework, @popperjs/core",
      "display": "Popper2 DOM geometry/modifier engine with optional style application; not the same API as newer Floating UI DOM.",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "First-call and visible UI prerequisites, @popperjs/core",
      "display": "[\"Positioning-engine first call only. Real mounted DOM nodes with content and suitable CSS must exist; button/tooltip ARIA relationship and visible/hidden state are host work. Current full createPopper applies position styles; tooltip trigger interactions are not provided automatically. Destroy the returned instance when host removes the nodes.\"]",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Interaction and reference contract, @popperjs/core",
      "display": "{\"Focus-triggered UI\": \"Selected engine computes/updates placement; tutorial attaches focus/show/hide listeners in application code rather than supplying a complete tooltip widget.\", \"Virtual anchors\": \"Native createPopper reference may be Element or VirtualElement. Host owns geometry/lifecycle and rendering.\"}",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Actual project API contract, @popperjs/core",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole Element Plus Vue usePopper composition hook calls actual createPopper from @popperjs/core,not the selected Floating UI DOM replacement API. It guards absent references/floating nodes,uses current2.11.8 placement/strategy/modifiers/onFirstUpdate options,and registers an updateState modifier in write phase requiring computeStyles. applyStyles is intentionally disabled. Current Vue refs/watch/computed/onBeforeUnmount and lodash helpers are host peers,not Popper invocations.\", \"used_return_shapes\": \"createPopper returns the current Instance with state.styles/state.attributes,as consumed by deriveState. destroy/forceUpdate return void; update/setOptions return promises which this hook forwards or ignores. Host applies computed styles/attributes because applyStyles is disabled; caller manages visible content,focus/ARIA,and lifecycle. This is geometry/reactivity integration,not a self-contained tooltip widget.\"}",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Repository history and API generation, @popperjs/core",
      "display": "Registry repository redirects to floating-ui/floating-ui,but selected package remains @popperjs/core2.11.8 with Popper2 createPopper/Instance API. Floating UI DOM1.8 computePosition is separately audited and not a drop-in alias.",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Project function, @popperjs/core",
      "display": "export const usePopper = (\n  referenceElementRef: Ref<ReferenceElement>,\n  popperElementRef: Ref<ElementType>,\n  opts: Ref<PartialOptions> | PartialOptions = {} as PartialOptions\n) => {\n  const stateUpdater = {\n    name: 'updateState',\n    enabled: true,\n    phase: 'write',\n    fn: ({ state }) => {\n      const derivedState = deriveState(state)\n\n      Object.assign(states.value, derivedState)\n    },\n    requires: ['computeStyles'],\n  } as Modifier<'updateState', any>\n\n  const options = computed<Options>(() => {\n    const { onFirstUpdate, placement, strategy, modifiers } = unref(opts)\n\n    return {\n      onFirstUpdate,\n      placement: placement || 'bottom',\n      strategy: strategy || 'absolute',\n      modifiers: [\n        ...(modifiers || []),\n        stateUpdater,\n        { name: 'applyStyles', enabled: false },\n      ],\n    }\n  })\n\n  const instanceRef = shallowRef<Instance | undefined>()\n  const states = ref<Pick<State, 'styles' | 'attributes'>>({\n    styles: {\n      popper: {\n        position: unref(options).strategy,\n        left: '0',\n        top: '0',\n      },\n      arrow: {\n        position: 'absolute',\n      },\n    },\n    attributes: {},\n  })\n\n  const destroy = () => {\n    if (!instanceRef.value) return\n\n    instanceRef.value.destroy()\n    instanceRef.value = undefined\n  }\n\n  watch(\n    options,\n    (newOptions) => {\n      const instance = unref(instanceRef)\n      if (instance) {\n        instance.setOptions(newOptions)\n      }\n    },\n    {\n      deep: true,\n    }\n  )\n\n  watch(\n    [referenceElementRef, popperElementRef],\n    ([referenceElement, popperElement]) => {\n      destroy()\n      if (!referenceElement || !popperElement) return\n\n      instanceRef.value = createPopper(\n        referenceElement,\n        popperElement,\n        unref(options)\n      )\n    }\n  )\n\n  onBeforeUnmount(() => {\n    destroy()\n  })\n\n  return {\n    state: computed(() => ({ ...(unref(instanceRef)?.state || {}) })),\n    styles: computed(() => unref(states).styles),\n    attributes: computed(() => unref(states).attributes),\n    update: () => unref(instanceRef)?.update(),\n    forceUpdate: () => unref(instanceRef)?.forceUpdate(),\n    // Preventing end users from modifying the instance.\n    instanceRef: computed(() => unref(instanceRef)),\n  }\n}\n",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Project source file, @popperjs/core",
      "display": "packages/hooks/use-popper/index.ts",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Project full_name, @popperjs/core",
      "display": "element-plus/element-plus",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Project stargazers_count, @popperjs/core",
      "display": "27.9K",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Library name, @base-ui/react",
      "display": "Base UI",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Monthly downloads, @base-ui/react",
      "display": "109.8M",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "License, @base-ui/react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Package release, @base-ui/react",
      "display": "1.9.0",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Package release date, @base-ui/react",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Install, @base-ui/react",
      "display": "npm install @base-ui/react",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Quickstart, @base-ui/react",
      "display": "import { Tooltip } from \"@base-ui/react/tooltip\";\nexport default function App() {\n  return <Tooltip.Provider><Tooltip.Root>\n    <Tooltip.Trigger>Help</Tooltip.Trigger>\n    <Tooltip.Portal><Tooltip.Positioner><Tooltip.Popup>Details</Tooltip.Popup></Tooltip.Positioner></Tooltip.Portal>\n  </Tooltip.Root></Tooltip.Provider>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Official description, @base-ui/react",
      "display": "Provides unstyled React components and low-level hooks.",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Quickstart source file, @base-ui/react",
      "display": "index.tsx",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Repository stars, @base-ui/react",
      "display": "11.5K",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Focus-triggered UI, @base-ui/react",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Virtual anchors, @base-ui/react",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "SDK layer and host framework, @base-ui/react",
      "display": "Base UI React suite includes unstyled Tooltip parts with native interaction state and a configurable Positioner.",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "First-call and visible UI prerequisites, @base-ui/react",
      "display": "[\"Compatible React/ReactDOM host app with existing root and CSS. Published1.9 Tooltip namespace supports these parts. Unstyled Popup content needs application styling; original registry example separately requires Tailwind utilities.\"]",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Interaction and reference contract, @base-ui/react",
      "display": "{\"Focus-triggered UI\": \"Native Tooltip Root/Trigger implement focus/hover state with proper composition and host styling.\", \"Virtual anchors\": \"Positioner anchor explicitly accepts VirtualElement or a callback yielding one,not merely a DOM selector.\"}",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Actual project API contract, @base-ui/react",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole original shadcn Base UI TooltipContent imports Tooltip namespace from published @base-ui/react/tooltip. Current1.9 Positioner accepts side/sideOffset/align/alignOffset; Popup accepts className/children and forwarded PopupProps; Portal and Arrow are actual same selected SDK exports. Defaults top,4,center,0 are original host values. Requires surrounding Root/Trigger/Provider as appropriate; Tailwind CSS classes and cn helper belong to the host.\", \"used_return_shapes\": \"Components return React nodes and Positioner handles placement/collision policy. Arrow remains inside Popup; source CSS reads SDK data-side and transform-origin state. No local wrapper or cn call is counted as an additional SDK call. Source itself is original registry integration,not a vendored Base UI implementation.\"}",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Project function, @base-ui/react",
      "display": "function TooltipContent({\n  className,\n  side = \"top\",\n  sideOffset = 4,\n  align = \"center\",\n  alignOffset = 0,\n  children,\n  ...props\n}: TooltipPrimitive.Popup.Props &\n  Pick<\n    TooltipPrimitive.Positioner.Props,\n    \"align\" | \"alignOffset\" | \"side\" | \"sideOffset\"\n  >) {\n  return (\n    <TooltipPrimitive.Portal>\n      <TooltipPrimitive.Positioner\n        align={align}\n        alignOffset={alignOffset}\n        side={side}\n        sideOffset={sideOffset}\n        className=\"isolate z-50\"\n      >\n        <TooltipPrimitive.Popup\n          data-slot=\"tooltip-content\"\n          className={cn(\n            \"cn-tooltip-content cn-tooltip-content-logical z-50 w-fit max-w-xs origin-(--transform-origin) bg-foreground text-background\",\n            className\n          )}\n          {...props}\n        >\n          {children}\n          <TooltipPrimitive.Arrow className=\"cn-tooltip-arrow cn-tooltip-arrow-logical z-50 bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5\" />\n        </TooltipPrimitive.Popup>\n      </TooltipPrimitive.Positioner>\n    </TooltipPrimitive.Portal>\n  )\n}\n",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Project source file, @base-ui/react",
      "display": "apps/v4/registry/bases/base/ui/tooltip.tsx",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Project full_name, @base-ui/react",
      "display": "shadcn-ui/ui",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Project stargazers_count, @base-ui/react",
      "display": "128.5K",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Library name, @mui/material",
      "display": "Material UI",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Monthly downloads, @mui/material",
      "display": "53.7M",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "License, @mui/material",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Package release, @mui/material",
      "display": "9.5.0",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Package release date, @mui/material",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Install, @mui/material",
      "display": "npm install @mui/material @emotion/react @emotion/styled",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Quickstart, @mui/material",
      "display": "import Tooltip from \"@mui/material/Tooltip\";\nexport default function App() {\n  return <Tooltip title=\"Details\"><button>Help</button></Tooltip>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Official description, @mui/material",
      "display": "Implements Google's Material Design as a React component library.",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Quickstart source file, @mui/material",
      "display": "docs/data/material/components/tooltips/demos/basic/BasicTooltip.tsx",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Repository stars, @mui/material",
      "display": "99.4K",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Focus-triggered UI, @mui/material",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Virtual anchors, @mui/material",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "SDK layer and host framework, @mui/material",
      "display": "Styled Material UI React suite includes Tooltip and Emotion-based theme/styling infrastructure.",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "First-call and visible UI prerequisites, @mui/material",
      "display": "[\"Existing compatible React/ReactDOM app and Emotion peers. Uses a native focusable button with working ref/events,so the basic call needs no optional icons package or custom Button component. Default MUI styling/theme applies; a custom engine requires its own setup.\"]",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Interaction and reference contract, @mui/material",
      "display": "{\"Focus-triggered UI\": \"Native Tooltip responds to focus-visible unless disabled; real focusable/ref-compatible children remain required.\", \"Virtual anchors\": \"Native Tooltip forwards slotProps.popper.anchorEl to a fake DOM geometry object. Exact current own anchor example uses getBoundingClientRect; anchorEl is not claimed as a top-level Tooltip prop.\"}",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Virtual anchor forwarding, @mui/material",
      "display": "Tooltip own example uses slotProps.popper.anchorEl.getBoundingClientRect,with a Popper ref update on pointer movement. It does not pass unsupported top-level Tooltip.anchorEl.",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Library name, react-aria-components",
      "display": "React Aria Components",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Monthly downloads, react-aria-components",
      "display": "33.2M",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "License, react-aria-components",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Package release, react-aria-components",
      "display": "1.22.1",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Package release date, react-aria-components",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Install, react-aria-components",
      "display": "npm install react-aria-components",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Quickstart, react-aria-components",
      "display": "import { Button, Tooltip, TooltipTrigger } from \"react-aria-components\";\nexport default function App() {\n  return <TooltipTrigger><Button>Help</Button><Tooltip>Details</Tooltip></TooltipTrigger>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Official description, react-aria-components",
      "display": "Provides styleable React components built on React Aria.",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Quickstart source file, react-aria-components",
      "display": "Tooltip.tsx",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Repository stars, react-aria-components",
      "display": "16.1K",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Focus-triggered UI, react-aria-components",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Virtual anchors, react-aria-components",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "SDK layer and host framework, react-aria-components",
      "display": "React Aria Components suite supplies accessible interaction primitives and unstyled composable Tooltip/Trigger/Arrow parts.",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "First-call and visible UI prerequisites, react-aria-components",
      "display": "[\"Existing compatible React/ReactDOM app/root. TooltipTrigger connects focus/hover state and a native React Aria Button; raw Tooltip is unstyled,so add application CSS. This first call does not pretend the larger Tailwind starter stylesheet is part of the core package.\"]",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Interaction and reference contract, react-aria-components",
      "display": "{\"Focus-triggered UI\": \"TooltipTrigger manages focus/hover opening and its trigger association. Raw Tooltip alone can also be controlled but needs trigger context/ref.\", \"Virtual anchors\": \"Bounded public Tooltip triggerRef requires an actual Element ref; current Tooltip/TooltipTrigger API does not expose an arbitrary geometry-only VirtualElement anchor. Overlay positioning elsewhere in the framework is not substituted.\"}",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Project function, react-aria-components",
      "display": "export const Tooltip = ({\n  children,\n  content,\n  triggerProps = {},\n  disablePointerEvents = false,\n  ...props\n}: TooltipProps) => {\n  const triggerRef = useRef(null);\n  const [isHovered, setIsHover] = useState(false);\n\n  const hoverTimeoutRef = useRef<ReturnType<typeof setTimeout>>(null);\n  const closeTimeoutRef = useRef<ReturnType<typeof setTimeout>>(null);\n\n  const handlePointerEnter = useCallback(() => {\n    if (closeTimeoutRef.current) {\n      clearTimeout(closeTimeoutRef.current);\n    }\n\n    const timeout = setTimeout(() => {\n      setIsHover(true);\n    }, triggerProps.delay ?? 300);\n\n    hoverTimeoutRef.current = timeout;\n  }, [triggerProps.delay]);\n\n  const handlePointerLeave = useCallback(() => {\n    if (hoverTimeoutRef.current) {\n      clearTimeout(hoverTimeoutRef.current);\n    }\n\n    closeTimeoutRef.current = setTimeout(() => {\n      setIsHover(false);\n    }, triggerProps.closeDelay ?? 0);\n  }, [triggerProps.closeDelay]);\n\n  // Force closing the tooltip whenever the disablement state changes\n  useEffect(() => {\n    setIsHover(false);\n  }, [triggerProps.isDisabled]);\n\n  return (\n    <View\n      style={{ minHeight: 'auto', flexShrink: 0, maxWidth: '100%' }}\n      ref={triggerRef}\n      onMouseEnter={handlePointerEnter}\n      onMouseLeave={handlePointerLeave}\n    >\n      <TooltipTrigger\n        isOpen={isHovered && !triggerProps.isDisabled}\n        {...triggerProps}\n      >\n        {children}\n\n        <AriaTooltip\n          triggerRef={triggerRef}\n          style={{\n            ...styles.tooltip,\n            ...(disablePointerEvents && { pointerEvents: 'none' }),\n          }}\n          {...props}\n        >\n          {content}\n        </AriaTooltip>\n      </TooltipTrigger>\n    </View>\n  );\n};\n",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Project source file, react-aria-components",
      "display": "packages/component-library/src/Tooltip.tsx",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Project full_name, react-aria-components",
      "display": "actualbudget/actual",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Project stargazers_count, react-aria-components",
      "display": "30.4K",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Library name, tippy.js",
      "display": "Tippy.js",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Monthly downloads, tippy.js",
      "display": "33.0M",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "License, tippy.js",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Package release, tippy.js",
      "display": "6.3.7",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Package release date, tippy.js",
      "display": "Nov 2021",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Install, tippy.js",
      "display": "npm i tippy.js",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Quickstart, tippy.js",
      "display": "import tippy from \"tippy.js\";\nimport \"tippy.js/dist/tippy.css\";\n\ntippy(\"#button\", { content: \"Details\" });\n",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Repository stars, tippy.js",
      "display": "12.2K",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Focus-triggered UI, tippy.js",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Virtual anchors, tippy.js",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "SDK layer and host framework, tippy.js",
      "display": "Ready-made framework-independent tooltip widget over Popper,with packaged CSS,content updates,and instance lifecycle APIs.",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "First-call and visible UI prerequisites, tippy.js",
      "display": "[\"Browser bundle with real mounted #button trigger and the supplied Tippy CSS. Selected stable6.3.7 remains the actual current API despite its older release date; no historical SDK pin is rejected merely for age.\"]",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Interaction and reference contract, tippy.js",
      "display": "{\"Focus-triggered UI\": \"Default trigger configuration includes focus; a usable focusable reference and appropriate content/CSS remain prerequisites.\", \"Virtual anchors\": \"Native getReferenceClientRect overrides reference geometry with a compatible ClientRect/DOMRect-returning callback.\"}",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Actual project API contract, tippy.js",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole Gitea temporary-tooltip function uses the retained attachTooltip helper or a live native target._tippy Instance. Current6.3.7 retains setContent,setProps,show,hide,destroy,state.isShown/state.isVisible,and getReferenceClientRect getter. All source control-flow branches assign a real DOMRect or explicit empty DOMRect fallback before the virtual-reference callback is used. target must be a live Element and supplied content must allow attachTooltip to return a valid Instance.\", \"used_return_shapes\": \"Instance methods update/destroy in place and return void. The onHidden callback receives the native Instance,which may be destroyed when no default tooltip can be restored. Original DOM dropdown/aria-controls lookup and timeout policy remain Gitea context,not cross-framework guarantees. Conditional hide timer1500 is original source behavior,not a measured duration recommendation.\"}",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Project function, tippy.js",
      "display": "export function showTemporaryTooltip(target: Element, content: Content): void {\n  // if the target is inside a dropdown or tippy popup, the menu will be hidden soon\n  // so display the tooltip on the \"aria-controls\" element or dropdown instead\n  let refClientRect: DOMRect | undefined;\n  const popupTippyId = target.closest(`[data-tippy-root]`)?.id;\n  if (popupTippyId) {\n    // for example, the \"Copy Permalink\" button in the \"File View\" page for the selected lines\n    target = document.body;\n    refClientRect = document.querySelector(`[aria-controls=\"${CSS.escape(popupTippyId)}\"]`)?.getBoundingClientRect();\n    refClientRect = refClientRect ?? new DOMRect(0, 0, 0, 0); // fallback to empty rect if not found, tippy doesn't accept null\n  } else {\n    // for example, the \"Copy Link\" button in the issue header dropdown menu\n    target = target.closest('.ui.dropdown') ?? target;\n    refClientRect = target.getBoundingClientRect();\n  }\n  const tooltipTippy = target._tippy ?? attachTooltip(target, content);\n  tooltipTippy.setContent(content);\n  tooltipTippy.setProps({getReferenceClientRect: () => refClientRect});\n  if (!tooltipTippy.state.isShown) tooltipTippy.show();\n\n  tooltipTippy.setProps({\n    onHidden: (tippy) => {\n      // reset the default tooltip content, if no default, then this temporary tooltip could be destroyed\n      if (!attachTooltip(target)) {\n        tippy.destroy();\n      }\n    },\n  });\n\n  // on elements where the tooltip is re-located like \"Copy Link\" inside fomantic dropdowns, tippy.js gets\n  // no `mouseout` event and the tooltip stays visible, hide it with timeout.\n  if (!popupTippyId) {\n    setTimeout(() => {\n      if (tooltipTippy.state.isVisible) tooltipTippy.hide();\n    }, 1500);\n  }\n}\n",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Project source file, tippy.js",
      "display": "web_src/js/modules/tippy.ts",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Project full_name, tippy.js",
      "display": "go-gitea/gitea",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Project stargazers_count, tippy.js",
      "display": "59.1K",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Library name, bootstrap",
      "display": "Bootstrap",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Monthly downloads, bootstrap",
      "display": "30.4M",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "License, bootstrap",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Package release, bootstrap",
      "display": "5.3.9",
      "asOf": "2026-11-20"
    },
    "F266": {
      "label": "Package release date, bootstrap",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F267": {
      "label": "Install, bootstrap",
      "display": "npm i --save bootstrap @popperjs/core",
      "asOf": "2026-11-20"
    },
    "F268": {
      "label": "Quickstart, bootstrap",
      "display": "import { Tooltip } from \"bootstrap\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nconst trigger = document.getElementById(\"button\");\nif (!trigger) throw new Error(\"Missing trigger\");\nconst tooltip = new Tooltip(trigger, { title: \"Details\" });\n",
      "asOf": "2026-11-20"
    },
    "F269": {
      "label": "Official description, bootstrap",
      "display": "Provides a front-end framework for responsive, mobile-first web projects.",
      "asOf": "2026-11-20"
    },
    "F270": {
      "label": "Quickstart source file, bootstrap",
      "display": "site/src/content/docs/components/tooltips.mdx",
      "asOf": "2026-11-20"
    },
    "F271": {
      "label": "Repository stars, bootstrap",
      "display": "175.1K",
      "asOf": "2026-11-20"
    },
    "F272": {
      "label": "Focus-triggered UI, bootstrap",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F273": {
      "label": "Virtual anchors, bootstrap",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F274": {
      "label": "SDK layer and host framework, bootstrap",
      "display": "Bootstrap full UI suite includes Tooltip widget with Bootstrap CSS and Popper positioning peer.",
      "asOf": "2026-11-20"
    },
    "F275": {
      "label": "First-call and visible UI prerequisites, bootstrap",
      "display": "[\"Browser bundler with Bootstrap CSS,compatible Popper peer,and a real focusable #button. Current5.3.9 named Tooltip export initializes the widget; no jQuery dependency is required for this ESM path. Dispose the instance when host removes its trigger. Advanced real-project example remains a separate research gap,not replaced by this quickstart.\"]",
      "asOf": "2026-11-20"
    },
    "F276": {
      "label": "Interaction and reference contract, bootstrap",
      "display": "{\"Focus-triggered UI\": \"Native5.3 Tooltip trigger supports focus and defaults hover focus. Hover-only configuration does not cover keyboard users.\", \"Virtual anchors\": \"Bounded Tooltip configuration positions against its actual trigger element; no public geometry-only reference replacement is exposed. container changes where popup mounts and popperConfig changes positioning options,not the separate constructor reference argument. Dropdown virtual references are a different Bootstrap component.\"}",
      "asOf": "2026-11-20"
    },
    "F277": {
      "label": "Project function, bootstrap",
      "display": "export function showHints ($div: JQuery<HTMLElement> | undefined = undefined) {\n    if ($('#no_hint').length > 0) {\n        return;\n    }\n\n    let $newDiv = $div;\n    if ($newDiv === undefined || ! ($newDiv instanceof $) || $newDiv.length === 0) {\n        $newDiv = $('body');\n    }\n\n    $newDiv.get(0).querySelectorAll('.pma_hint').forEach((hintElement: HTMLElement): void => {\n        const content = hintElement.querySelector('span').textContent;\n        bootstrap.Tooltip.getOrCreateInstance(hintElement, { title: content })\n            .setContent({ '.tooltip-inner': content });\n    });\n}\n",
      "asOf": "2026-11-20"
    },
    "F278": {
      "label": "Project source file, bootstrap",
      "display": "resources/js/modules/functions.ts",
      "asOf": "2026-11-20"
    },
    "F279": {
      "label": "Project full_name, bootstrap",
      "display": "phpmyadmin/phpmyadmin",
      "asOf": "2026-11-20"
    },
    "F280": {
      "label": "Project stargazers_count, bootstrap",
      "display": "8.0K",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript tooltip libraries Tippy Floating UI Popper Tooltipster examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
