Skip to content

Tooltip

A short hint shown on hover or long-press over its children.

Group: Overlays · Kind: native

example
Copy linkCopy link

Open in the playground

The same specimen painted by React, SwiftUI, Compose and gpui.

exponential-ui-tooltip on Web
exponential-ui-tooltip on iOS
exponential-ui-tooltip on Android
exponential-ui-tooltip on Desktop
Prop Type Required Bindable Description
content string yes – The hint text.
side top | right | bottom | left – – Preferred side of the anchor. Default "top".

None.

None.

many

No basic catalog component maps here.

A native component: every renderer paints it directly.

Role: tooltip

tooltip describing its anchor

Keys Action
– Shows on hover AND keyboard focus of the anchor (after the platform delay); Escape hides

Recipe parts: Tooltip/content Tooltip/arrow Tooltip/anchor

Keyed by: side :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover

Themes · Write a theme

CallSurface · Dialog · Drawer · DockCard · AlertDialog · Popover · Menu · Toast