{
  "id": "task_libraries:tooltip/react",
  "path": "/exapedia/react-tooltip-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "React tooltip libraries",
  "answer": [
    {
      "t": "text",
      "text": "React tooltip libraries show a short label next to an element when it receives hover or keyboard focus. A positioning engine keeps the floating label attached to its trigger as the page scrolls or resizes. These libraries let apps explain icons and controls without crowding the layout."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "React 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": "#radix-ui-react-tooltip",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F132"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#floating-ui-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F149"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#base-ui-tooltip",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F166"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mui-material",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F181"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-aria-tooltip",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F194"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#antd",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#rc-tooltip",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mantine-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F243"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            ]
          ],
          "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": "#radix-ui-react-tooltip",
          "label": [
            {
              "t": "text",
              "text": "@radix-ui/react-tooltip"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F133"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Ready-made Tooltip component",
            "Prestyled tooltip"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#radix-ui-react-tooltip",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F132"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#floating-ui-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F149"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#base-ui-tooltip",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F166"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mui-material",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F181"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-aria-tooltip",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F194"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#antd",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#rc-tooltip",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mantine-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F243"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "radix-ui-react-tooltip",
          "name": [
            {
              "t": "fact",
              "fact": "F132"
            }
          ],
          "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": "F139"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.radix-ui.com/primitives/docs/components/tooltip",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F132"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/calcom/cal.diy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "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": "F146"
                    }
                  ]
                }
              ],
              "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": "F132"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import * as Tooltip from '@radix-ui/react-tooltip';\n\nexport default function App() {\n  return <Tooltip.Provider><Tooltip.Root>\n    <Tooltip.Trigger>Info</Tooltip.Trigger>\n    <Tooltip.Portal><Tooltip.Content sideOffset={4}>More information</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": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F137"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "floating-ui-react",
          "name": [
            {
              "t": "fact",
              "fact": "F149"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/floating-ui/floating-ui"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@floating-ui/react"
            },
            {
              "label": "Docs",
              "href": "https://floating-ui.com/docs/tooltip"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F156"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://floating-ui.com/docs/tooltip",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F149"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/ueberdosis/tiptap-ui-components",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F164"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "function useTooltip({\n  initialOpen = false,\n  placement = \"top\",\n  open: controlledOpen,\n  onOpenChange: setControlledOpen,\n  delay = 600,\n  closeDelay = 0,\n}: Omit<TooltipProviderProps, \"children\"> = {}) {\n  const [uncontrolledOpen, setUncontrolledOpen] =\n    React.useState<boolean>(initialOpen)\n\n  const open = controlledOpen ?? uncontrolledOpen\n  const setOpen = setControlledOpen ?? setUncontrolledOpen\n\n  const data = useFloating({\n    placement,\n    open,\n    onOpenChange: setOpen,\n    whileElementsMounted: autoUpdate,\n    middleware: [\n      offset(4),\n      flip({\n        crossAxis: placement.includes(\"-\"),\n        fallbackAxisSideDirection: \"start\",\n        padding: 4,\n      }),\n      shift({ padding: 4 }),\n    ],\n  })\n\n  const context = data.context\n\n  const hover = useHover(context, {\n    mouseOnly: true,\n    move: false,\n    restMs: delay,\n    enabled: controlledOpen == null,\n    delay: {\n      close: closeDelay,\n    },\n  })\n  const focus = useFocus(context, {\n    enabled: controlledOpen == null,\n  })\n  const dismiss = useDismiss(context)\n  const role = useRole(context, { role: \"tooltip\" })\n\n  const interactions = useInteractions([hover, focus, dismiss, role])\n\n  return React.useMemo(\n    () => ({\n      open,\n      setOpen,\n      ...interactions,\n      ...data,\n    }),\n    [open, setOpen, interactions, data]\n  )\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/ueberdosis/tiptap-ui-components/blob/799929bea4804c73767562b69f8acc2acdb8ac86/apps/web/src/components/tiptap-ui-primitive/tooltip/tooltip.tsx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F163"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40floating-ui/react%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F149"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { useState } from 'react';\nimport { useFloating, autoUpdate, useHover, useFocus, useDismiss, useRole, useInteractions } from '@floating-ui/react';\n\nexport default function App() {\n  const [open, onOpenChange] = useState(false);\n  const { refs, floatingStyles, context } = useFloating({ open, onOpenChange, whileElementsMounted: autoUpdate });\n  const hover = useHover(context);\n  const focus = useFocus(context);\n  const dismiss = useDismiss(context);\n  const role = useRole(context, { role: 'tooltip' });\n  const { getReferenceProps, getFloatingProps } = useInteractions([hover, focus, dismiss, role]);\n  return <>\n    <button ref={refs.setReference} {...getReferenceProps()}>Info</button>\n    {open && <div ref={refs.setFloating} style={floatingStyles} {...getFloatingProps()}>More information</div>}\n  </>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://floating-ui.com/docs/tooltip",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F154"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "base-ui-tooltip",
          "name": [
            {
              "t": "fact",
              "fact": "F166"
            }
          ],
          "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": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://base-ui.com/react/components/tooltip",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F166"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/shadcn-ui/ui",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F179"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "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": "F178"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=React%20projects%20using%20%40base-ui/react%20for%20tooltip%20triggers%2C%20delayed%20opening%2C%20accessible%20descriptions%2C%20arrows%2C%20portals%20and%20controlled%20visibility&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": "F166"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { Tooltip } from '@base-ui/react/tooltip';\n\nexport default function App() {\n  return <Tooltip.Provider><Tooltip.Root>\n    <Tooltip.Trigger>Info</Tooltip.Trigger>\n    <Tooltip.Portal><Tooltip.Positioner sideOffset={4}>\n      <Tooltip.Popup>More information</Tooltip.Popup>\n    </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": "tooltip.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F171"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "mui-material",
          "name": [
            {
              "t": "fact",
              "fact": "F181"
            }
          ],
          "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": "F188"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://mui.com/material-ui/react-tooltip/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F181"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import Tooltip from '@mui/material/Tooltip';\n\nexport default function App() {\n  return <Tooltip title=\"More information\"><button>Info</button></Tooltip>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://mui.com/material-ui/react-tooltip/",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "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": "F181"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F186"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "react-aria-tooltip",
          "name": [
            {
              "t": "fact",
              "fact": "F194"
            }
          ],
          "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": "F64"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://react-spectrum.adobe.com/react-aria/Tooltip.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F194"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/actualbudget/actual",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F207"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "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": "F206"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=React%20projects%20using%20react-aria-components%20for%20tooltip%20triggers%2C%20delayed%20opening%2C%20accessible%20descriptions%2C%20arrows%2C%20portals%20and%20controlled%20visibility&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": "F194"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { Button, Tooltip, TooltipTrigger } from 'react-aria-components';\n\nexport default function App() {\n  return <TooltipTrigger>\n    <Button>Info</Button>\n    <Tooltip>More information</Tooltip>\n  </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.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F199"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "antd",
          "name": [
            {
              "t": "fact",
              "fact": "F209"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ant-design/ant-design"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/antd"
            },
            {
              "label": "Docs",
              "href": "https://ant.design/components/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://ant.design/components/tooltip",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F209"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/apache/superset",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F224"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "({ overlayStyle, ...props }, ref) => (\n    <AntdTooltip\n      ref={ref}\n      styles={{\n        // antd v6 renamed the inner content slot `body` -> `container`\n        container: { overflow: 'hidden', textOverflow: 'ellipsis' },\n        root: overlayStyle ?? {},\n      }}\n      {...props}\n    />\n  )",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/apache/superset/blob/b71bd2cd202a784f1cd26b5b24434eab63f9a003/superset-frontend/packages/superset-ui-core/src/components/Tooltip/index.tsx#L26-L36",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F223"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=antd%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F209"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { Tooltip } from 'antd';\n\nexport default function App() {\n  return <Tooltip title=\"More information\"><button>Info</button></Tooltip>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://ant.design/components/tooltip",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F214"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "rc-tooltip",
          "name": [
            {
              "t": "fact",
              "fact": "F226"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/react-component/tooltip"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/rc-tooltip"
            },
            {
              "label": "Docs",
              "href": "https://registry.npmjs.org/rc-tooltip/6.4.0"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F233"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://registry.npmjs.org/rc-tooltip/6.4.0",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F226"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/lightninglabs/lightning-terminal",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F241"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "const TooltipWrapper: React.FC<Props> = ({\n  className,\n  placement = 'top',\n  children,\n  ...props\n}) => {\n  const targetOffset = getOffset(placement);\n  return (\n    <Tooltip\n      {...props}\n      placement={placement}\n      align={{ targetOffset }}\n      overlayClassName={className}\n      mouseEnterDelay={0.5}\n    >\n      {children}\n    </Tooltip>\n  );\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/lightninglabs/lightning-terminal/blob/068c1bfa3ec8ada4f2dcdb4deab7e4cb20522dce/app/src/components/common/Tip.tsx#L45-L63",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=rc-tooltip%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F226"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import Tooltip from 'rc-tooltip';\nimport 'rc-tooltip/assets/bootstrap.css';\n\nexport default function App() {\n  return <Tooltip trigger={['hover', 'focus']} overlay={<span>More information</span>}>\n    <button>Info</button>\n  </Tooltip>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://registry.npmjs.org/rc-tooltip/6.4.0",
                  "label": [
                    {
                      "t": "text",
                      "text": "Tooltip.tsx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F231"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "mantine-core",
          "name": [
            {
              "t": "fact",
              "fact": "F243"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mantinedev/mantine"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@mantine/core"
            },
            {
              "label": "Docs",
              "href": "https://mantine.dev/core/tooltip/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F250"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://mantine.dev/core/tooltip/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F243"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/homarr-labs/homarr",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F258"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "const MarkAllButton = ({ placement, onClick }: MarkAllButtonProps) => {\n  const t = useI18n(\"widget.releases\");\n  const size = markAllSizes[placement];\n\n  return (\n    <Tooltip label={t(\"markAllViewed\")} withArrow>\n      <ActionIcon variant=\"light\" size={size.button} radius=\"xl\" onClick={onClick} aria-label={t(\"markAllViewed\")}>\n        <IconChecks style={zoomCompensatedSize(size.icon)} />\n      </ActionIcon>\n    </Tooltip>\n  );\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/homarr-labs/homarr/blob/b440fdd574c9daa229f5cf64f7b2532770799664/packages/widgets/src/releases/component.tsx#L531-L542",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F257"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40mantine/core%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F243"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { MantineProvider, Tooltip } from '@mantine/core';\nimport '@mantine/core/styles.css';\n\nexport default function App() {\n  return <MantineProvider><Tooltip label=\"More information\">\n    <button>Info</button>\n  </Tooltip></MantineProvider>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://mantine.dev/core/tooltip/",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F248"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which React tooltip library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#radix-ui-react-tooltip",
          "label": [
            {
              "t": "text",
              "text": "@radix-ui/react-tooltip"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits accessible tooltip primitives. "
        },
        {
          "t": "link",
          "href": "#base-ui-tooltip",
          "label": [
            {
              "t": "text",
              "text": "Base UI"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits tooltips with grouped hover delays and detached triggers. "
        },
        {
          "t": "link",
          "href": "#floating-ui-react",
          "label": [
            {
              "t": "text",
              "text": "@floating-ui/react"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits custom floating elements built with Floating UI."
        }
      ]
    },
    {
      "q": "What is Radix Tooltip?",
      "a": [
        {
          "t": "link",
          "href": "#radix-ui-react-tooltip",
          "label": [
            {
              "t": "text",
              "text": "@radix-ui/react-tooltip"
            }
          ]
        },
        {
          "t": "text",
          "text": " displays information related to an element when it receives keyboard focus or the mouse hovers over it."
        }
      ]
    },
    {
      "q": "Do tooltips work on touch devices?",
      "a": [
        {
          "t": "text",
          "text": "Not reliably. "
        },
        {
          "t": "link",
          "href": "#base-ui-tooltip",
          "label": [
            {
              "t": "text",
              "text": "Base UI"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#react-aria-tooltip",
          "label": [
            {
              "t": "text",
              "text": "React Aria Components"
            }
          ]
        },
        {
          "t": "text",
          "text": " both point to a popover for information that touch users must reach."
        }
      ]
    },
    {
      "q": "How do tooltips work with screen readers?",
      "a": [
        {
          "t": "link",
          "href": "#react-aria-tooltip",
          "label": [
            {
              "t": "text",
              "text": "React Aria Components"
            }
          ]
        },
        {
          "t": "text",
          "text": " links open tooltip content to its trigger through aria-describedby. "
        },
        {
          "t": "link",
          "href": "#base-ui-tooltip",
          "label": [
            {
              "t": "text",
              "text": "Base UI"
            }
          ]
        },
        {
          "t": "text",
          "text": " requires a separate accessible name on each trigger."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, @base-ui/react",
      "display": "Base UI Tooltip",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, @base-ui/react",
      "display": "106.7M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, @base-ui/react",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, @base-ui/react",
      "display": "1.9.0",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, @base-ui/react",
      "display": "v1.9.0",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, @base-ui/react",
      "display": "11.4K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Opens on keyboard focus, @base-ui/react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Controls open state, @base-ui/react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Supports delayed opening, @base-ui/react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Portals tooltip content, @base-ui/react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, @base-ui/react",
      "display": "npm install @base-ui/react react react-dom",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, @base-ui/react",
      "display": "Provides tooltip popups for supplementary hints on hover or focus.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, @base-ui/react",
      "display": "Groups hover delays",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, @base-ui/react",
      "display": "Adjacent tooltips appear immediately once a grouped tooltip becomes visible.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, @base-ui/react",
      "display": "Supports detached tooltip triggers",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, @base-ui/react",
      "display": "Use a shared handle to connect triggers outside the tooltip root.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, @base-ui/react",
      "display": "Triggers need accessible names",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, @base-ui/react",
      "display": "Label the trigger separately; the tooltip is a visual hint.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, @base-ui/react",
      "display": "Touch devices need alternatives",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, @base-ui/react",
      "display": "Use Popover for information people must access on touch devices.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, @base-ui/react",
      "display": "'use client';\nimport * as React from 'react';\nimport { Tooltip } from '@base-ui/react/tooltip';\nimport styles from './demos.module.css';\n\nconst demoTooltip = Tooltip.createHandle();\n\nexport default function TooltipDetachedTriggersSimpleDemo() {\n  return (\n    <Tooltip.Provider>\n      <Tooltip.Trigger className={styles.IconButton} handle={demoTooltip} aria-label=\"Delete\">\n        <TrashIcon aria-hidden=\"true\" />\n      </Tooltip.Trigger>\n\n      <Tooltip.Root handle={demoTooltip}>\n        <Tooltip.Portal>\n          <Tooltip.Positioner sideOffset={11}>\n            <Tooltip.Popup className={styles.Popup}>\n              <Tooltip.Arrow className={styles.Arrow} />\n              Delete\n            </Tooltip.Popup>\n          </Tooltip.Positioner>\n        </Tooltip.Portal>\n      </Tooltip.Root>\n    </Tooltip.Provider>\n  );\n}\n\nfunction TrashIcon(props: React.ComponentProps<'svg'>) {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      stroke=\"currentColor\"\n      strokeLinejoin=\"round\"\n      {...props}\n      style={{ display: 'block', ...props.style }}\n    >\n      <path strokeLinecap=\"square\" d=\"M2.5 4h11\" />\n      <path strokeLinecap=\"round\" d=\"M6.5 4V3c0-.82843.67157-1.5 1.5-1.5s1.5.67157 1.5 1.5v1\" />\n      <path\n        strokeLinecap=\"square\"\n        d=\"m3.5 4 .87069 9.1422c.07332.7699.7199 1.3578 1.49324 1.3578h4.27217c.7733 0 1.4199-.5879 1.4932-1.3578L12.5 4\"\n      />\n    </svg>\n  );\n}\n\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "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-17"
    },
    "F23": {
      "label": "Project function reference, @base-ui/react",
      "display": "tooltip.tsx · TooltipContent()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, @base-ui/react",
      "display": "shadcn-ui/ui",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, shadcn-ui/ui",
      "display": "128.3K",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, shadcn-ui/ui",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F27": {
      "label": "Library name, radix-ui",
      "display": "Radix Tooltip",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, radix-ui",
      "display": "101.5M",
      "asOf": "2026-11-15"
    },
    "F29": {
      "label": "License, radix-ui",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, radix-ui",
      "display": "1.8.1",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Undated package release, radix-ui",
      "display": "v1.8.1",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Repository stars, radix-ui",
      "display": "19.5K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Opens on keyboard focus, radix-ui",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Controls open state, radix-ui",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Supports delayed opening, radix-ui",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Portals tooltip content, radix-ui",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Install, radix-ui",
      "display": "npm install radix-ui react react-dom",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "What it does, radix-ui",
      "display": "Provides tooltip primitives that open on focus or hover.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, radix-ui",
      "display": "Shares delays across tooltips",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, radix-ui",
      "display": "Configure display delay globally through Tooltip.Provider.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths lead, radix-ui",
      "display": "Supports controlled open state",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths, radix-ui",
      "display": "Pass open and onOpenChange when application state controls visibility.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, radix-ui",
      "display": "Requires your visual styling",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, radix-ui",
      "display": "Provide tooltip layout and appearance through your styling system.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations lead, radix-ui",
      "display": "Custom triggers must forward props",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations, radix-ui",
      "display": "Spread supplied props and event handlers in custom trigger components.",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Quickstart, radix-ui",
      "display": "// your-tooltip.jsx\n\nimport * as React from \"react\";\n\nimport { Tooltip as TooltipPrimitive } from \"radix-ui\";\n\nexport function Tooltip({ children, content, open, defaultOpen, onOpenChange, ...props }) {\n  return (\n    <TooltipPrimitive.Root open={open} defaultOpen={defaultOpen} onOpenChange={onOpenChange}>\n      <TooltipPrimitive.Trigger asChild>{children}</TooltipPrimitive.Trigger>\n\n      <TooltipPrimitive.Content side=\"top\" align=\"center\" {...props}>\n        {content}\n\n        <TooltipPrimitive.Arrow width={11} height={5} />\n      </TooltipPrimitive.Content>\n    </TooltipPrimitive.Root>\n  );\n}\n\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function, radix-ui",
      "display": "function TooltipContent({\n  className,\n  sideOffset = 0,\n  children,\n  ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Content>) {\n  return (\n    <TooltipPrimitive.Portal>\n      <TooltipPrimitive.Content\n        data-slot=\"tooltip-content\"\n        sideOffset={sideOffset}\n        className={cn(\n          \"z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-foreground px-3 py-1.5 text-xs text-balance text-background fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95\",\n          className\n        )}\n        {...props}\n      >\n        {children}\n        <TooltipPrimitive.Arrow className=\"z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground\" />\n      </TooltipPrimitive.Content>\n    </TooltipPrimitive.Portal>\n  )\n}\n",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project function reference, radix-ui",
      "display": "tooltip.tsx · TooltipContent()",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project repository, radix-ui",
      "display": "shadcn-ui/ui",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project stars, shadcn-ui/ui",
      "display": "128.3K",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project push date, shadcn-ui/ui",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F53": {
      "label": "Library name, react-aria-components",
      "display": "React Aria Tooltip",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Monthly downloads, react-aria-components",
      "display": "32.0M",
      "asOf": "2026-11-15"
    },
    "F55": {
      "label": "License, react-aria-components",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Package release, react-aria-components",
      "display": "1.22.1",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Undated package release, react-aria-components",
      "display": "v1.22.1",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Repository stars, react-aria-components",
      "display": "16.0K",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Opens on keyboard focus, react-aria-components",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Controls open state, react-aria-components",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Supports delayed opening, react-aria-components",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Portals tooltip content, react-aria-components",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Install, react-aria-components",
      "display": "npm install react-aria-components react react-dom",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "What it does, react-aria-components",
      "display": "Provides descriptions that appear when a trigger is hovered or focused.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, react-aria-components",
      "display": "Shows focused tooltips immediately",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, react-aria-components",
      "display": "Hovering uses a warmup delay; keyboard focus shows the tooltip immediately.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths lead, react-aria-components",
      "display": "Describes triggers for screen readers",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "strengths, react-aria-components",
      "display": "TooltipTrigger associates open tooltip content through aria-describedby.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations lead, react-aria-components",
      "display": "Touch interactions need another pattern",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations, react-aria-components",
      "display": "Use Popover when information must be available to touch users.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "limitations lead, react-aria-components",
      "display": "Custom triggers must forward refs",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "limitations, react-aria-components",
      "display": "Forward the trigger ref and spread the supplied DOM props.",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Quickstart, react-aria-components",
      "display": "'use client';\nimport {\n  OverlayArrow,\n  Tooltip as AriaTooltip,\n  type TooltipProps as AriaTooltipProps,\n  TooltipTrigger as AriaTooltipTrigger,\n  type TooltipTriggerComponentProps\n} from 'react-aria-components/Tooltip';\nimport './Tooltip.css';\n\nexport interface TooltipProps extends Omit<AriaTooltipProps, 'children'> {\n  children: React.ReactNode;\n}\n\nexport function Tooltip({children, ...props}: TooltipProps) {\n  return (\n    <AriaTooltip {...props}>\n      <OverlayArrow>\n        <svg width={8} height={8} viewBox=\"0 0 8 8\">\n          <path d=\"M0 0 L4 4 L8 0\" />\n        </svg>\n      </OverlayArrow>\n      {children}\n    </AriaTooltip>\n  );\n}\n\nexport function TooltipTrigger(props: TooltipTriggerComponentProps) {\n  return <AriaTooltipTrigger {...props} />;\n}\n\n",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project function, react-aria-components",
      "display": "export function Tooltip({ offset = 10, arrow = true, inverse, children, ...props }: TooltipProps) {\n  return (\n    <TooltipPrimitive\n      {...props}\n      offset={offset}\n      className={composeRenderProps(props.className, (className, renderProps) =>\n        tooltipStyles({\n          ...renderProps,\n          inverse,\n          className,\n        })\n      )}\n    >\n      {arrow && (\n        <OverlayArrow className=\"group\">\n          <svg\n            width={12}\n            height={12}\n            viewBox=\"0 0 12 12\"\n            className={twJoin(\n              \"block group-placement-bottom:rotate-180 group-placement-left:-rotate-90 group-placement-right:rotate-90 forced-colors:fill-[Canvas] forced-colors:stroke-[ButtonBorder]\",\n              inverse\n                ? \"fill-foreground stroke-transparent\"\n                : \"fill-overlay stroke-(--tooltip-border)\"\n            )}\n          >\n            <path d=\"M0 0 L6 6 L12 0\" />\n          </svg>\n        </OverlayArrow>\n      )}\n      {children}\n    </TooltipPrimitive>\n  )\n}\n",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project function reference, react-aria-components",
      "display": "tooltip.tsx · Tooltip()",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Project repository, react-aria-components",
      "display": "irsyadadl/intentui",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Project stars, irsyadadl/intentui",
      "display": "2.0K",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Project push date, irsyadadl/intentui",
      "display": "Nov 2026",
      "asOf": "2026-11-12"
    },
    "F79": {
      "label": "Library name, react-tooltip",
      "display": "React Tooltip",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Monthly downloads, react-tooltip",
      "display": "10.2M",
      "asOf": "2026-11-15"
    },
    "F81": {
      "label": "License, react-tooltip",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Package release, react-tooltip",
      "display": "6.0.12",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Undated package release, react-tooltip",
      "display": "v6.0.12",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Repository stars, react-tooltip",
      "display": "3.8K",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Opens on keyboard focus, react-tooltip",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Controls open state, react-tooltip",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "Supports delayed opening, react-tooltip",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "Portals tooltip content, react-tooltip",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "Install, react-tooltip",
      "display": "npm install react-tooltip react react-dom",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "What it does, react-tooltip",
      "display": "Displays tooltip content for focused or hovered anchor elements.",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "strengths lead, react-tooltip",
      "display": "Shares tooltips across anchors",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "strengths, react-tooltip",
      "display": "Use anchorSelect to match multiple anchor elements with a CSS selector.",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "strengths lead, react-tooltip",
      "display": "Supports custom portal roots",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "strengths, react-tooltip",
      "display": "Render tooltip content into a chosen DOM container with portalRoot.",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "limitations lead, react-tooltip",
      "display": "Hovering content requires clickable",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "limitations, react-tooltip",
      "display": "Enable clickable so pointer users can move onto the tooltip content.",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "limitations lead, react-tooltip",
      "display": "Raw HTML strings require migration",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "limitations, react-tooltip",
      "display": "Replace html and data-tooltip-html with React children or render.",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Quickstart, react-tooltip",
      "display": "import React, { useEffect, useRef, useState } from 'react'\nimport { Tooltip } from 'react-tooltip'\n\nfunction Example() {\n  const portalContainerRef = useRef(null)\n  const [portalRoot, setPortalRoot] = useState(null)\n\n  useEffect(() => {\n    setPortalRoot(portalContainerRef.current)\n  }, [])\n\n  return (\n    <>\n      <button data-tooltip-id=\"my-tooltip\">Hover me</button>\n      <div ref={portalContainerRef} />\n      <Tooltip\n        id=\"my-tooltip\"\n        content=\"Rendered through portalRoot\"\n        portalRoot={portalRoot}\n        positionStrategy=\"fixed\"\n      />\n    </>\n  )\n}\n",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need",
      "display": "Shared display delays",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Why choose radix-ui",
      "display": "controlling tooltip timing through a provider",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need in introduction",
      "display": "shared display delays",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need",
      "display": "Detached tooltip triggers",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Why choose @base-ui/react",
      "display": "associating external triggers with a shared handle",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need in introduction",
      "display": "detached tooltip triggers",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need",
      "display": "Immediate keyboard descriptions",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Why choose react-aria-components",
      "display": "showing tooltip descriptions immediately on keyboard focus",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need in introduction",
      "display": "immediate keyboard descriptions",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need",
      "display": "Selector-based anchors",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Why choose react-tooltip",
      "display": "attaching a tooltip to matching anchor elements",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Developer need in introduction",
      "display": "selector-based anchors",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Page introduction",
      "display": "React tooltip libraries let web developers position contextual hints and popovers.",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "FAQ: Which React tooltip library should I choose?",
      "display": "Radix supplies provider-level delay settings.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Which React tooltip library should I choose?",
      "display": "Base UI can associate detached triggers through a shared handle.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Which React tooltip library should I choose?",
      "display": "React Aria shows focused tooltips immediately.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Which React tooltip library should I choose?",
      "display": "React Tooltip supports selector-based anchors.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Are Base UI tooltips a replacement for accessible labels?",
      "display": "Base UI says tooltip triggers still need an accessible name.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Should essential information appear only in a tooltip?",
      "display": "React Aria does not show tooltips for touch interactions and recommends another pattern when that information is needed.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Should essential information appear only in a tooltip?",
      "display": "Base UI recommends Popover for hoverable information that touch users must access.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Does React Aria delay tooltips opened by keyboard focus?",
      "display": "Hover uses a warmup delay; focus opens the tooltip immediately.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: How do Radix tooltip delay groups work?",
      "display": "Tooltip.Provider supplies global timing behavior.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: How do Radix tooltip delay groups work?",
      "display": "Its provider exposes delayDuration and skipDelayDuration settings.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Can Base UI connect a tooltip to an external trigger?",
      "display": "Use a shared handle created with Tooltip.createHandle.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Does React Tooltip support a custom portal container?",
      "display": "The current portalRoot API renders the tooltip into a custom DOM container.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Does React Tooltip support a custom portal container?",
      "display": "The complete own example binds that container through a ref and effect.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Can pointer users move onto React Tooltip content?",
      "display": "Enable clickable to keep tooltip content available when the pointer moves onto it.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Can current React Tooltip accept raw HTML strings?",
      "display": "Raw HTML-string APIs were removed; use React children or render instead.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Does React Tooltip work directly in a Server Component?",
      "display": "The tooltip requires a client component boundary because it uses hooks, DOM events, and layout measurement.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: What must a custom React Aria trigger forward?",
      "display": "Forward its ref and spread its DOM props so trigger behavior reaches the actual element.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: Does a tooltip positioning strategy create a portal?",
      "display": "A Base UI portal explicitly moves the popup to another DOM location.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "FAQ: Does a tooltip positioning strategy create a portal?",
      "display": "React Tooltip separately exposes a portalRoot container.",
      "asOf": "2026-11-17"
    },
    "F132": {
      "label": "Library name, @radix-ui/react-tooltip",
      "display": "@radix-ui/react-tooltip",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Monthly downloads, @radix-ui/react-tooltip",
      "display": "272.6M",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "License, @radix-ui/react-tooltip",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Package release, @radix-ui/react-tooltip",
      "display": "1.4.1",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Package release date, @radix-ui/react-tooltip",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Install, @radix-ui/react-tooltip",
      "display": "npm install @radix-ui/react-tooltip@1.4.1 react@19.2.0 react-dom@19.2.0",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Quickstart, @radix-ui/react-tooltip",
      "display": "import * as Tooltip from '@radix-ui/react-tooltip';\n\nexport default function App() {\n  return <Tooltip.Provider><Tooltip.Root>\n    <Tooltip.Trigger>Info</Tooltip.Trigger>\n    <Tooltip.Portal><Tooltip.Content sideOffset={4}>More information</Tooltip.Content></Tooltip.Portal>\n  </Tooltip.Root></Tooltip.Provider>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Official description, @radix-ui/react-tooltip",
      "display": "Displays information related to an element when it receives keyboard focus or the mouse hovers over it.",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Quickstart source file, @radix-ui/react-tooltip",
      "display": "tooltip",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Repository stars, @radix-ui/react-tooltip",
      "display": "19.5K",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Ready-made Tooltip component, @radix-ui/react-tooltip",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Prestyled tooltip, @radix-ui/react-tooltip",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Tooltip interface and host styling, @radix-ui/react-tooltip",
      "display": "Unstyled composable primitives with Provider timing, explicit trigger, portal, content, and arrow parts.",
      "asOf": "2026-11-20"
    },
    "F145": {
      "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"
    },
    "F146": {
      "label": "Project source file, @radix-ui/react-tooltip",
      "display": "packages/ui/components/tooltip/Tooltip.tsx",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Project full_name, @radix-ui/react-tooltip",
      "display": "calcom/cal.diy",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Project stargazers_count, @radix-ui/react-tooltip",
      "display": "50.2K",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Library name, @floating-ui/react",
      "display": "@floating-ui/react",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Monthly downloads, @floating-ui/react",
      "display": "133.4M",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "License, @floating-ui/react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Package release, @floating-ui/react",
      "display": "0.27.20",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Package release date, @floating-ui/react",
      "display": "Jul 2026",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Install, @floating-ui/react",
      "display": "npm install @floating-ui/react@0.27.20 react@19.2.0 react-dom@19.2.0",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Quickstart, @floating-ui/react",
      "display": "import { useState } from 'react';\nimport { useFloating, autoUpdate, useHover, useFocus, useDismiss, useRole, useInteractions } from '@floating-ui/react';\n\nexport default function App() {\n  const [open, onOpenChange] = useState(false);\n  const { refs, floatingStyles, context } = useFloating({ open, onOpenChange, whileElementsMounted: autoUpdate });\n  const hover = useHover(context);\n  const focus = useFocus(context);\n  const dismiss = useDismiss(context);\n  const role = useRole(context, { role: 'tooltip' });\n  const { getReferenceProps, getFloatingProps } = useInteractions([hover, focus, dismiss, role]);\n  return <>\n    <button ref={refs.setReference} {...getReferenceProps()}>Info</button>\n    {open && <div ref={refs.setFloating} style={floatingStyles} {...getFloatingProps()}>More information</div>}\n  </>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Official description, @floating-ui/react",
      "display": "Provides Floating UI for React.",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Quickstart source file, @floating-ui/react",
      "display": "tooltip",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Repository stars, @floating-ui/react",
      "display": "32.8K",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Ready-made Tooltip component, @floating-ui/react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Prestyled tooltip, @floating-ui/react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Tooltip interface and host styling, @floating-ui/react",
      "display": "Hook-based interaction and geometry toolkit; developer assembles trigger/content, state, and styling rather than importing a ready Tooltip component.",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Project function, @floating-ui/react",
      "display": "function useTooltip({\n  initialOpen = false,\n  placement = \"top\",\n  open: controlledOpen,\n  onOpenChange: setControlledOpen,\n  delay = 600,\n  closeDelay = 0,\n}: Omit<TooltipProviderProps, \"children\"> = {}) {\n  const [uncontrolledOpen, setUncontrolledOpen] =\n    React.useState<boolean>(initialOpen)\n\n  const open = controlledOpen ?? uncontrolledOpen\n  const setOpen = setControlledOpen ?? setUncontrolledOpen\n\n  const data = useFloating({\n    placement,\n    open,\n    onOpenChange: setOpen,\n    whileElementsMounted: autoUpdate,\n    middleware: [\n      offset(4),\n      flip({\n        crossAxis: placement.includes(\"-\"),\n        fallbackAxisSideDirection: \"start\",\n        padding: 4,\n      }),\n      shift({ padding: 4 }),\n    ],\n  })\n\n  const context = data.context\n\n  const hover = useHover(context, {\n    mouseOnly: true,\n    move: false,\n    restMs: delay,\n    enabled: controlledOpen == null,\n    delay: {\n      close: closeDelay,\n    },\n  })\n  const focus = useFocus(context, {\n    enabled: controlledOpen == null,\n  })\n  const dismiss = useDismiss(context)\n  const role = useRole(context, { role: \"tooltip\" })\n\n  const interactions = useInteractions([hover, focus, dismiss, role])\n\n  return React.useMemo(\n    () => ({\n      open,\n      setOpen,\n      ...interactions,\n      ...data,\n    }),\n    [open, setOpen, interactions, data]\n  )\n}\n",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Project source file, @floating-ui/react",
      "display": "apps/web/src/components/tiptap-ui-primitive/tooltip/tooltip.tsx",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Project full_name, @floating-ui/react",
      "display": "ueberdosis/tiptap-ui-components",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Project stargazers_count, @floating-ui/react",
      "display": "224",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Library name, @base-ui/react",
      "display": "Base UI",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Monthly downloads, @base-ui/react",
      "display": "109.8M",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "License, @base-ui/react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Package release, @base-ui/react",
      "display": "1.9.0",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Package release date, @base-ui/react",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Install, @base-ui/react",
      "display": "npm install @base-ui/react@1.9.0 react@19.2.0 react-dom@19.2.0",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Quickstart, @base-ui/react",
      "display": "import { Tooltip } from '@base-ui/react/tooltip';\n\nexport default function App() {\n  return <Tooltip.Provider><Tooltip.Root>\n    <Tooltip.Trigger>Info</Tooltip.Trigger>\n    <Tooltip.Portal><Tooltip.Positioner sideOffset={4}>\n      <Tooltip.Popup>More information</Tooltip.Popup>\n    </Tooltip.Positioner></Tooltip.Portal>\n  </Tooltip.Root></Tooltip.Provider>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Repository stars, @base-ui/react",
      "display": "11.4K",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Ready-made Tooltip component, @base-ui/react",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Prestyled tooltip, @base-ui/react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Tooltip interface and host styling, @base-ui/react",
      "display": "Unstyled composable Tooltip parts, with optional detached/shared trigger handles and positioner.",
      "asOf": "2026-11-20"
    },
    "F177": {
      "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"
    },
    "F178": {
      "label": "Project source file, @base-ui/react",
      "display": "apps/v4/registry/bases/base/ui/tooltip.tsx",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Project full_name, @base-ui/react",
      "display": "shadcn-ui/ui",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Project stargazers_count, @base-ui/react",
      "display": "128.3K",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Library name, @mui/material",
      "display": "Material UI",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Monthly downloads, @mui/material",
      "display": "53.7M",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "License, @mui/material",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Package release, @mui/material",
      "display": "9.5.0",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Package release date, @mui/material",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Install, @mui/material",
      "display": "npm install @mui/material@9.5.0 react@19.2.0 react-dom@19.2.0 @emotion/react @emotion/styled",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Quickstart, @mui/material",
      "display": "import Tooltip from '@mui/material/Tooltip';\n\nexport default function App() {\n  return <Tooltip title=\"More information\"><button>Info</button></Tooltip>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Official description, @mui/material",
      "display": "Implements Google's Material Design as an open-source React component library.",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Quickstart source file, @mui/material",
      "display": "tooltip",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Repository stars, @mui/material",
      "display": "99.4K",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Ready-made Tooltip component, @mui/material",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Prestyled tooltip, @mui/material",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Tooltip interface and host styling, @mui/material",
      "display": "Prestyled Material Design tooltip in the existing MUI styling/theme system.",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Library name, react-aria-components",
      "display": "React Aria Components",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Monthly downloads, react-aria-components",
      "display": "33.2M",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "License, react-aria-components",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Package release, react-aria-components",
      "display": "1.22.1",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Package release date, react-aria-components",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Install, react-aria-components",
      "display": "npm install react-aria-components@1.22.1 react@19.2.0 react-dom@19.2.0",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Quickstart, react-aria-components",
      "display": "import { Button, Tooltip, TooltipTrigger } from 'react-aria-components';\n\nexport default function App() {\n  return <TooltipTrigger>\n    <Button>Info</Button>\n    <Tooltip>More information</Tooltip>\n  </TooltipTrigger>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Repository stars, react-aria-components",
      "display": "16.0K",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Ready-made Tooltip component, react-aria-components",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Prestyled tooltip, react-aria-components",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Tooltip interface and host styling, react-aria-components",
      "display": "Unstyled accessible TooltipTrigger/Button/Tooltip composition in React Aria Components.",
      "asOf": "2026-11-20"
    },
    "F205": {
      "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"
    },
    "F206": {
      "label": "Project source file, react-aria-components",
      "display": "packages/component-library/src/Tooltip.tsx",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Project full_name, react-aria-components",
      "display": "actualbudget/actual",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Project stargazers_count, react-aria-components",
      "display": "30.4K",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Library name, antd",
      "display": "Ant Design",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Monthly downloads, antd",
      "display": "19.9M",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "License, antd",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Package release, antd",
      "display": "6.7.1",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Package release date, antd",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Install, antd",
      "display": "npm install antd@6.7.1 react@19.2.0 react-dom@19.2.0",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Quickstart, antd",
      "display": "import { Tooltip } from 'antd';\n\nexport default function App() {\n  return <Tooltip title=\"More information\"><button>Info</button></Tooltip>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Official description, antd",
      "display": "Implements the Ant Design enterprise-class design language as React components.",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Quickstart source file, antd",
      "display": "tooltip",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Repository stars, antd",
      "display": "100.2K",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Ready-made Tooltip component, antd",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Prestyled tooltip, antd",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Tooltip interface and host styling, antd",
      "display": "Prestyled tooltip for Ant Design applications, including placement and configurable arrow.",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Project function, antd",
      "display": "({ overlayStyle, ...props }, ref) => (\n    <AntdTooltip\n      ref={ref}\n      styles={{\n        // antd v6 renamed the inner content slot `body` -> `container`\n        container: { overflow: 'hidden', textOverflow: 'ellipsis' },\n        root: overlayStyle ?? {},\n      }}\n      {...props}\n    />\n  )",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Project source file, antd",
      "display": "superset-frontend/packages/superset-ui-core/src/components/Tooltip/index.tsx",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Project full_name, antd",
      "display": "apache/superset",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Project stargazers_count, antd",
      "display": "75.6K",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Library name, rc-tooltip",
      "display": "rc-tooltip",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Monthly downloads, rc-tooltip",
      "display": "14.9M",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "License, rc-tooltip",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Package release, rc-tooltip",
      "display": "6.4.0",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Package release date, rc-tooltip",
      "display": "Jan 2025",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Install, rc-tooltip",
      "display": "npm install rc-tooltip@6.4.0 react@19.2.0 react-dom@19.2.0",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Quickstart, rc-tooltip",
      "display": "import Tooltip from 'rc-tooltip';\nimport 'rc-tooltip/assets/bootstrap.css';\n\nexport default function App() {\n  return <Tooltip trigger={['hover', 'focus']} overlay={<span>More information</span>}>\n    <button>Info</button>\n  </Tooltip>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Official description, rc-tooltip",
      "display": "Provides a React tooltip.",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Quickstart source file, rc-tooltip",
      "display": "Tooltip.tsx",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Repository stars, rc-tooltip",
      "display": "944",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Ready-made Tooltip component, rc-tooltip",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Prestyled tooltip, rc-tooltip",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Tooltip interface and host styling, rc-tooltip",
      "display": "Standalone React tooltip with optional packaged CSS, controlled visibility, and low-level overlay/trigger props.",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Project function, rc-tooltip",
      "display": "const TooltipWrapper: React.FC<Props> = ({\n  className,\n  placement = 'top',\n  children,\n  ...props\n}) => {\n  const targetOffset = getOffset(placement);\n  return (\n    <Tooltip\n      {...props}\n      placement={placement}\n      align={{ targetOffset }}\n      overlayClassName={className}\n      mouseEnterDelay={0.5}\n    >\n      {children}\n    </Tooltip>\n  );\n};\n",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Project source file, rc-tooltip",
      "display": "app/src/components/common/Tip.tsx",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Project full_name, rc-tooltip",
      "display": "lightninglabs/lightning-terminal",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Project stargazers_count, rc-tooltip",
      "display": "597",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Library name, @mantine/core",
      "display": "Mantine",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Monthly downloads, @mantine/core",
      "display": "14.3M",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "License, @mantine/core",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Package release, @mantine/core",
      "display": "9.8.1",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Package release date, @mantine/core",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Install, @mantine/core",
      "display": "npm install @mantine/core@9.8.1 react@19.2.0 react-dom@19.2.0",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Quickstart, @mantine/core",
      "display": "import { MantineProvider, Tooltip } from '@mantine/core';\nimport '@mantine/core/styles.css';\n\nexport default function App() {\n  return <MantineProvider><Tooltip label=\"More information\">\n    <button>Info</button>\n  </Tooltip></MantineProvider>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Official description, @mantine/core",
      "display": "Provides a React components library focused on usability, accessibility, and developer experience.",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Quickstart source file, @mantine/core",
      "display": "tooltip",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Repository stars, @mantine/core",
      "display": "32.0K",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Ready-made Tooltip component, @mantine/core",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Prestyled tooltip, @mantine/core",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Tooltip interface and host styling, @mantine/core",
      "display": "Prestyled Mantine tooltip using MantineProvider/styles, with native Tooltip.Group shared delays.",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Project function, @mantine/core",
      "display": "const MarkAllButton = ({ placement, onClick }: MarkAllButtonProps) => {\n  const t = useI18n(\"widget.releases\");\n  const size = markAllSizes[placement];\n\n  return (\n    <Tooltip label={t(\"markAllViewed\")} withArrow>\n      <ActionIcon variant=\"light\" size={size.button} radius=\"xl\" onClick={onClick} aria-label={t(\"markAllViewed\")}>\n        <IconChecks style={zoomCompensatedSize(size.icon)} />\n      </ActionIcon>\n    </Tooltip>\n  );\n};\n",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Project source file, @mantine/core",
      "display": "packages/widgets/src/releases/component.tsx",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Project full_name, @mantine/core",
      "display": "homarr-labs/homarr",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Project stargazers_count, @mantine/core",
      "display": "5.4K",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best React tooltip libraries Radix Base UI React Aria React Tooltip examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
