Skip to content

Tooltip

Tooltip::make()->content('…') renders an ⓘ info popover you can place anywhere in a schema. The content is trusted HTML, so links are supported.

Stack::make()->direction('row')->gap(Gap::Small)->schema([
Badge::make('Plan: Pro'),
Tooltip::make()->content('Includes unlimited seats and priority support.'),
]);

Pass ->trigger([...]) to use your own trigger — text, a badge, an icon — instead of the default ⓘ icon. Clicking it opens the popover.

Several components take a ->tooltip('…') shorthand that attaches this same popover to their title or header — Card, Section, Collapsible, and Heading.