Elements Tooltip
Back to Elements

Tooltip

0 components

UI elements you can copy into your project.

API reference

Generated from each primitive's $props() declaration.

Tooltip.Content

Informational tooltip on hover.

Prop Type Default Description
ref bind: HTMLElement | null null
class as className string
sideOffset number 0
side string "top"
children Snippet
arrowClasses
...restProps Record<string, unknown> Remaining attributes, spread onto the underlying element.

Tooltip.Trigger

Informational tooltip on hover.

Prop Type Default Description
ref bind: HTMLElement | null null
...restProps Record<string, unknown> Remaining attributes, spread onto the underlying element.