RRigdesign system
Data display

Tooltip

Short helper text on hover or focus of an interactive trigger.

Examples

Hover or focus the button. Press Esc to dismiss.
Copies the link to your clipboard

Anatomy

Tooltip anatomy
#PartDescriptionPresence
1TriggerAny focusable elementRequired
2BubbleGlass, 12px blur, drop shadowRequired
3ArrowOptionalOptional

Specifications

SurfaceGlass with drop shadow, 12px blur
TriggerHover and focus

Interaction

Keyboard
KeyResult
TabFocus on the trigger shows the tooltip
EscDismisses without moving focus
Pointer and touch
TriggerResponse
HoverShows after about 500ms and stays while the pointer is on the trigger or the bubble
LeaveHides after 100ms

Accessibility

role · tooltip

1.4.13Content on Hover or Focus2.1.1Keyboard4.1.2Name, Role, Value
Requirements
RequirementHow Rig meets it
Associationaria-describedby from the trigger to the bubble
ContentPlain text only: no links or buttons
WCAG 1.4.13Dismissable (Esc), hoverable and persistent
TouchDo not depend on it; the same information must exist elsewhere

Read the matching WAI pattern ↗

Usage

Do and don’t
DoDon’t
Use it to name icon buttons or to add a hintDo not put essential information only in a tooltip
Do not put interactive content in it (use Popover)