A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.
TooltipProvider once at the root to enable
tooltips throughout your application.import { Button } from "@ngrok/mantle/button";
import { Tooltip } from "@ngrok/mantle/tooltip";
<Tooltip.Root>
<Tooltip.Trigger asChild>
<Button type="button" appearance="filled" priority="default">
Hover me
</Button>
</Tooltip.Trigger>
<Tooltip.Content>
<p>This feature is part of your plan</p>
</Tooltip.Content>
</Tooltip.Root>;Wraps your app to provide global functionality to your tooltips. Only one instance of this component should be rendered in your app, preferably at the root.
The root component that manages the open/closed state of the tooltip. Will throw if you have not wrapped your app in a TooltipProvider.
The button that toggles the tooltip. By default, the Tooltip.Content will position itself against the trigger.
The component that pops out when the tooltip is open.