overlaystexulinot agent-emittableapp
Tooltip
tooltip
Short delayed hint on hover or focus.
Live examples
Basic tooltip
Basic tooltip
Loading demo…
Props
| Name | Kind | Required | Default | Description |
|---|---|---|---|---|
content | string | yes | — | Hint text or rich snippet |
children | slot | yes | — | Trigger snippet { props } |
shortcut | string | no | — | Shortcut string or list shown as Kbd |
side | enum (top, right, bottom, left) | no | "top" | — |
align | enum (start, center, end) | no | "center" | — |
sideOffset | number | no | 6 | — |
delayDuration | number | no | 300 | — |
disabled | boolean | no | false | — |
open | boolean | no | false | — |
class | string | no | — | — |
Keyboard
| Key | Action |
|---|---|
a | Shows on focus; content is plain text or a snippet, never a sink. |
Accessibility
- Shows on focus; content is plain text or a snippet, never a sink.
Evidence for tooltip
Latest committed gates for tooltip (as of 2026-10-23). Static snapshot — not live CI.
Behavior
checkedscenario tooltip
Rows in tests/behavior/scenarios/tooltip.spec.ts, held to the WAI-ARIA APG pattern, run on Chromium, WebKit and the Pixel 7.
Size (gzip)
@texuli/primitives/tooltip · measured 11.3 KiB · budget 16.0 KiB
Measured gzip from docs/quality/perf-primitives.md (2026-10-23).
Axe
documented
tests/e2e/site-component-pages.spec.tsdocs/quality (a11y-*)
Site component pages axe gate; package-level a11y docs under docs/quality when present.
Browsers
chromiumwebkitmobile
Playwright projects: Desktop Chrome, Desktop Safari, Pixel 7. Firefox is a known gap on this host.
When to use
Use when
- Icon-only controls need a name
- Optional keyboard shortcut hints
Don’t use when
Prefer another component
- Essential instructions (put them in visible copy)