Skip to content
kapable

Tooltip

Actions · 1 export · v0.1.0 · showcase

Supplementary non-interactive description revealed by focus or pointer hover.

Browse 72 component families
Supplementary help appears without moving focus

Usage

Tooltip usage
<Tooltip content="Supplementary help" trigger={(attrs) => <button aria-describedby={attrs.ariaDescribedBy}>Help</button>} />

API

Tooltip API

TooltipProps

Tooltip props
proptypenotes
contentstring
trigger(attrs: TooltipTriggerAttrs) => RemixNodeRender the actual named trigger and apply `ariaDescribedBy` to it.
side?'top' | 'right' | 'bottom' | 'left'
delay?numberPointer delay in milliseconds. Keyboard focus is immediate. Default 800.
mix?MixInput

More in Actions

More in Actions