Tooltip
An informative popup that appears when users hover over or focus on an element.
Usage
Properties
The Tooltip
component extends the Bits UI <Tooltip>
component. Find the full list of available properties in the official Bits UI documentation.
TooltipContent
Prop | Type | Default |
---|---|---|
width | number | - |
Examples
Side
Use the side
property to change the side of the tooltip.
Align
Use the align
property to change the alignment of the tooltip.
Width
Use the width
property to change the width of the TooltipContent
.
Same width
Use the sameWidth
property to make the TooltipContent
the same width as the trigger.