Tooltip
A composable hover or focus hint built on @radix-ui/react-tooltip, wearing the Augeo token skin.
Tooltip
Tooltip is a composable hover or focus hint built on @radix-ui/react-tooltip. It reveals a short supplemental label for the control it wraps. Radix owns the hover timing, the ARIA wiring and the collision handling, so this layer is only the Augeo token skin.
Tones
neutral is the hint — a dark bubble carrying a sentence about the trigger,
and the common case. elevated is a light panel for content with structure of
its own: rows, avatars, a heading. It takes the fill, border and shadow the
emoji picker uses, so two surfaces opening from one row match.
A tone changes the skin only. Timing, positioning, motion and
aria-describedby are Radix's and are identical across both.
An elevated panel draws no arrow by default, because the panel carries a border
and the arrow cannot. Pass arrow to override either tone.
A tone is not a licence to put a control inside. Radix closes a tooltip on blur, so anything focusable in one is unreachable. Content that needs a press belongs in a Popover.
Interaction Phases
State space: none. This item renders no phase treatment of its own.
Politeness is not announced — this item carries no live region.
Storybook
Loading
Props
TooltipTriggerProps
Prop
Type
Also takes the attributes of the element it renders.
TooltipArrowProps
Prop
Type
Also takes the attributes of the element it renders.
TooltipContentProps
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-background-neutral--augds-border-default--augds-foreground-inverse--augds-foreground-primary--augds-motion-easing-overshoot--augds-radius-primitive-12--augds-radius-primitive-16--augds-shadow-2--augds-surface-current
Source
src/components/ui/tooltip/tooltip.tsx