CodeAI

Tooltip

Small hover/focus overlay with brief contextual text on an inverse surface.

Appearance

Content

Props — Tooltip
View MUI docs
PropTypeDescription
titleReactNodeBrief contextual text shown in the bubble.
childrenReactElementTrigger element; must accept a ref.
placement"bottom-start" | "bottom" | "bottom-end" | "top-start" | "top" | "top-end" | "left-start" | "left" | "left-end" | "right-start" | "right" | "right-end"MUI placement — where the tooltip sits relative to the trigger. *-start / *-end pin the caret near that edge.
hasCaretbooleanShow the pointing caret.
iconNameFaIconName | stringLeading FA icon. Omit when unset.