UnreviewedOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptional UnreviewedkeyReact/Preact reconciliation key when rendered inside a list.
Optional UnreviewedclassHTML class attribute (standard DOM).
Optional UnreviewedclassReact/Preact-style class name. Alias for class.
Optional UnreviewedstyleInline styles applied to the element.
OptionalchildrenOptional UnreviewedslotAssigns the element to a named <slot> (e.g. slot="title").
Optional UnreviewedtabTab order. Set to 0 to make the element keyboard-focusable.
Optional UnreviewedroleARIA role override.
Optional UnrevieweddelayShow delay in milliseconds. Never use 0 — use ~50. Defaults to 300.
Optional UnreviewedplacementPreferred side; auto-flips when there's no room. Defaults to 'bottom'.
Optional UnreviewedfollowFollow the cursor instead of pinning under the anchor (pinned is the
default). Presence-based ('' on, omit off).
Optional UnreviewedinteractiveMake the bubble hoverable/clickable (pointer events on, stays open while
hovered). Always pinned. Presence-based ('' on, omit off).
Optional Unreviewedtruncated-Only show when the measured target is actually truncated/clipped (its text
overflows). UI-thread layout read, re-measured per show. Defaults to the
nearest Anta ellipsizing label part (a-tab-label / a-button-label) in the
anchor, then the anchor itself. Presence-based ('' on, omit off).
Optional UnreviewedroundRound the bubble (20px radius), or a custom radius via a length value
(round="12px"). Presence-based for the boolean form.
Optional Unreviewedtruncated-CSS selector (resolved within the anchor) for the element whose overflow a
truncated-only tooltip measures.
Optional UnreviewedidHTML id.
Attributes for the
<a-tooltip>custom element. Placed as a child of the element it annotates (content as children). For the typed JSX wrapper useTooltipfrom@antadesign/anta.