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. |