fun-tooltip

Tooltips are commonly used to give more information about an icon or button when the user hovers over it. Bear in mind that touch users cannot see tooltips.

Examples

Specifications

Properties

PropertyAttributeRequiredDescriptionTypeDefault
delaydelayfalseWait this number of milliseconds before showing the tooltip.number200
offsetXoffset-xfalseAdd horizontal spacing between the tooltip and the trigger element.number10
offsetYoffset-yfalseAdd vertical spacing between the tooltip and the trigger element.number20
positionpositionfalsePosition of the tooltip, relative to the trigger element."bottom" | "left" | "right" | "top"
positionStrategyposition-strategyfalseUse to override the positioning strategy, which can be helpful in some conditions."absolute" | "fixed"'absolute'

Parts

NameDescription
arrow
content
tooltip

Dependencies

Depends on

Used by

This documentation page generated from the source at fun-tooltip.tsx

Search Gunnel

Powered byAlgolia