align | TooltipAlign | undefinedcenterstartend | center | Alignment along the side |
childrenRequired | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Not set | The element that triggers the tooltip |
closeDelay | number | undefined | 0 | Delay before hiding (ms) |
closeOnClick | boolean | undefined | true | Whether pressing the trigger closes the tip until the pointer leaves |
contentRequired | React.ReactNode | Not set | Content to display in the tooltip |
contentProps | TooltipContentProps | undefined | Not set | Props for the tip surface: id, className and data-* attributes |
defaultOpen | boolean | undefined | false | Default open state |
delay | number | undefined | 500 | Rest before opening (ms). Defaults to the provider's delay, or 500 with a 300ms warm window after another tip closes |
disabled | boolean | undefined | false | Render the child alone, with no tip |
onOpenChange | ((open: boolean) => void) | undefined | Not set | Callback when open state changes |
open | boolean | undefined | Not set | Controlled open state |
Provider.childrenRequired | React.ReactNode | Not set | — |
Provider.closeDelay | number | undefined | Not set | Delay before hiding (ms). |
Provider.delay | number | undefined | Not set | Rest before the first tip opens (ms). |
Provider.timeout | number | undefined | Not set | How long after a tip hides the next one opens at once (ms). |
shortcut | React.ReactNode | Not set | A keyboard shortcut shown after the text, such as ⌘K |
side | TooltipSide | undefinedtopbottomleftright | top | Which side to show the tooltip |