Tooltip
A one-line hint on hover or focus.
Switch theme
Live preview · click to try it
Variants
4 named variants. Layer names match the names below.
Switch theme
TopTooltip / Top
Switch theme
RightTooltip / Right
Switch theme
BottomTooltip / Bottom
Switch theme
LeftTooltip / Left
States
Tooltip / Hidden
Switch theme
Tooltip / Shown
Usage
Do
- Icon Buttons, truncated text.
Don't
- Anything important on touch screens.
Properties
| Property | Type or options | Default |
|---|---|---|
| Variant | Top · Right · Bottom · Left | Top |
| Text | String | Switch theme |
Styles it uses
Surface/InverseInk/InverseOverlay/Shadow
Text: Caption
Accessibility
- Keyboard reachable with a visible 3px State/Focus ring.
- Interactive parts use real buttons and links with accessible names.