API reference
Generated from each primitive's $props() declaration.
HoverCard.Content
Card that appears on hover.
| Prop | Type | Default | Description |
|---|---|---|---|
| ref bind: | HTMLElement | null | null | |
| class as className | string | — | |
| align | string | "center" | |
| sideOffset | number | 4 | |
| portalProps | — | — | |
| ...restProps | Record<string, unknown> | — | Remaining attributes, spread onto the underlying element. |
HoverCard.Trigger
Card that appears on hover.
| Prop | Type | Default | Description |
|---|---|---|---|
| ref bind: | HTMLElement | null | null | |
| ...restProps | Record<string, unknown> | — | Remaining attributes, spread onto the underlying element. |