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.'),]);- align:null
- direction:"row"
- float:null
- gap:"sm"
- height:null
- justify:null
- width:null
- label:"Plan: Pro"
- content:"Includes unlimited seats and priority support."
- trigger:[]
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.