Skip to content

Tooltip API

API reference docs for the React Tooltip component. Learn about the props, CSS, and other APIs of this exported module.

Demos

For examples and details on the usage of this React component, visit the component demo pages:

Import

import Tooltip from '@mui/material/Tooltip';
// or
import { Tooltip } from '@mui/material';
Learn about the difference by reading this guide on minimizing bundle size.

Props

Props of the native component are also available.

childrenRequired

arrow

classes

components

componentsProps

describeChild

disableFocusListener

disableHoverListener

disableInteractive

disableTouchListener

enterDelay

enterNextDelay

enterTouchDelay

followCursor

id

leaveDelay

leaveTouchDelay

onClose

onOpen

open

placement

PopperComponent

PopperProps

slotProps

slots

sx

title

TransitionComponent

TransitionProps

The ref is forwarded to the root element.

Theme default props

You can use MuiTooltip to change the default props of this component with the theme.


CSS

The following class names are useful for styling with CSS (the state classes are marked).
To learn more, visit the component customization page.

.MuiTooltip-popper

.MuiTooltip-popperInteractive

.MuiTooltip-popperArrow

.MuiTooltip-popperClose

.MuiTooltip-tooltip

.MuiTooltip-tooltipArrow

.MuiTooltip-arrow

.MuiTooltip-touch

.MuiTooltip-tooltipPlacementLeft

.MuiTooltip-tooltipPlacementRight

.MuiTooltip-tooltipPlacementTop

.MuiTooltip-tooltipPlacementBottom


You can override the style of the component using one of these customization options: