<tooltip>
Wraps an element and shows a short help message on hover or long press.
<row style="w-full gap-16 items-center">
<tooltip message="Add to favorites">
<icon name="favorite_border"
style="size-lg"/>
</tooltip>
<tooltip message="Share this recipe">
<icon name="share"
style="size-lg"/>
</tooltip>
<text style="muted">Long-press an icon for its name</text>
</row>
Attributes
| Name | What it does | Default |
|---|---|---|
message |
Tooltip text on hover/long press string |
Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.