Tooltip
Tooltips add additional context to interactive UI elements and appear on mouse hover or keyboard focus.
On this page
On this page
Import
import {Tooltip} from '@primer/react'
Examples
Props
Tooltip
Name | Default | Description |
---|---|---|
align | 'left' | 'right' | |
direction | n | 'n' | 'ne' | 'e' | 'se' | 's' | 'sw' | 'w' | 'nw' Sets where the tooltip renders in relation to the target. |
noDelay | boolean When set to | |
aria-label | string Text used in | |
wrap | boolean Use | |
sx | SystemStyleObject |