Tooltip

Data display

Takes a block

Shows text when its child is hovered or focused.

Tooltip(text) { … }

Example

Tooltip("Copies the link") { IconButton(icon: "copy", label: "Copy link") }

Renders with the class wf-tooltip, stable across releases, so a stylesheet may target it.

Props of Tooltip
Prop Type Meaning
text String (positional)

The tooltip text

Attribute families: global, aria, data. Plus the universal props on every element: animate:, exit:, speed:, class:, ref:.