Tooltip
A short hint on hover and focus of its child; the label also becomes the child's accessible description.
An editor toolbar
Help, truncated text and status
API token
screenshot-2026-10-08-dark-theme-components-page.png 1.8 MBray-remote-1.27.39-macos-arm64-signed.dmg 42 MB
Placements
Colors, delays and disabled
API
For AI agents: this API as Markdown, or every component in llms-full.txt.
<ray-tooltip> · RayTooltip
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
label | label | string | Tooltip text. | |
placement | placement reflects | top | bottom | left | right | top-start | top-end | bottom-start | bottom-end | top | Preferred side; -start/-end follow the writing direction. |
openDelay | open-delay | number | 300 | ms before showing. |
closeDelay | close-delay | number | 0 | ms before hiding. |
color | color | string | A palette color or any CSS color. Default: inverted foreground/background. | |
disabled | disabled | boolean | Never shows. |
| Slot | Description |
|---|---|
| (default) | The element the tooltip describes (one element). |
| Part | Description |
|---|---|
tooltip | The tooltip box. |