Tooltip
Shows content while the trigger is hovered or focused from the keyboard; Escape hides it.
Screen readers don't hear it, so give the trigger a label that says the same.
Tooltip(props: TooltipProps): ElementProps
- contentrequired
ComponentChildren - alignoptional
TooltipAlign Which edge of the trigger the tooltip lines up with. Defaults to
center.- classoptional
string - childrenrequired
ComponentChildren The trigger.
design-system is a Ben Hodgson projectGitHub