Tooltip

Tooltip is a component that displays short information, such as supplementary details for an element.

Usage

import { Tooltip } from "@yamada-ui/react"
<Tooltip />

Change the Display Position

To change the display position, set placement to values like "end" or "center-start". By default, "start" is set.

Change the Animation

To change the show or hide animation, set animation to values like "top" or "left". By default, "scale" is set.

Change the Duration

To change the duration, set duration to a number (seconds).

Change the Offset

To change the offset, set gutter or offset to a value.

gutter allows you to set the difference with simple elements, and offset allows you to set [horizontal axis, vertical axis].

Delay

If you want to delay the display or hiding, set openDelay or closeDelay to a number (milliseconds).

Disable

To disable the tooltip, set disabled to true.

Always Display

To always display the tooltip, set open to true.

Props

Accessibility

Currently, this section is being updated due to the migration of v2.