children
string
"Tooltip"
Wrap your content with SubframeCore.Tooltip
to show the tooltip. It has the same API as Radix UI's Tooltip component.
View code
Use offset
to change the distance between the trigger and the tooltip.
View code
Use side
and align
props to change the position of the tooltip.
View code
You can simplify your tooltip usage by creating your own helper component like TooltipHost
below.
View code