Expand description
Tooltip component for contextual help Material Design 3 Tooltip component
Tooltips display brief labels or messages on hover or focus. They help identify or add information to elements.
Reference: https://m3.material.io/components/tooltips/overview
Structs§
- Rich
Tooltip - Rich tooltip with additional content
- Tooltip
- The tooltip popup component
- Tooltip
Localization - Optional localization keys for a tooltip trigger.
- Tooltip
Overlay - Marker component for the tooltip overlay container
- Tooltip
Plugin - Plugin for the tooltip component
- Tooltip
Text - Marker for tooltip text
- Tooltip
Trigger - A tooltip trigger - attach to elements that should show tooltips
- Tooltip
Trigger Builder - Builder for tooltip triggers
Enums§
- Tooltip
Animation State - Tooltip animation state
- Tooltip
Position - Tooltip position relative to anchor
- Tooltip
Variant - Tooltip variants
Constants§
- TOOLTIP_
DELAY_ DEFAULT - Default delay before showing
- TOOLTIP_
DELAY_ SHORT - Short delay (for experienced users)
- TOOLTIP_
HEIGHT_ PLAIN - Plain tooltip height
- TOOLTIP_
HEIGHT_ RICH_ MIN - Rich tooltip minimum height
- TOOLTIP_
MAX_ WIDTH - Maximum tooltip width
- TOOLTIP_
MAX_ WIDTH_ RICH - Rich tooltip max width
- TOOLTIP_
OFFSET - Offset from anchor
- TOOLTIP_
PADDING_ PLAIN - Tooltip horizontal padding (plain)
- TOOLTIP_
PADDING_ RICH - Tooltip padding (rich)
Traits§
- Spawn
Tooltip Child - Extension trait to attach tooltips to spawned elements
Functions§
- spawn_
rich_ tooltip - Spawn a rich tooltip
- spawn_
tooltip - Spawn a plain tooltip (standalone, for manual use)