Tooltip

A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.

Was this example helpful?

Usage#

Code
import { Tooltip } from "@medusajs/ui"
Code
<Tooltip content="Tooltip content">Trigger</Tooltip>

API Reference#


This component is based on the Radix UI Tooltip primitive.

PropTypeDefault
maxWidth
number
220
Was this page helpful?