Theme

Focus or hover

Share note

API reference: <cad-tooltip>

openopenbooleanfalsepositionpositionCadTooltipPosition'top'texttextstring''openbooleanopenyespositionCadTooltipPositionpositionyestextstringtextno(default)Tooltip trigger. Use one naturally focusable element.contentRich tooltip text. Falls back to the `text` attribute.baseTooltip positioning container.bubbleTooltip surface.triggerTrigger slot container.--cad-tooltip-bgPer-instance tooltip background.--cad-tooltip-inkPer-instance tooltip foreground.--cad-tooltip-z-indexPer-instance tooltip stacking level.

Accessibility

Use one focusable trigger. Keep the hint short and non-interactive. For links or controls, use Popover.

Back to top