Elements Popover
Back to Elements

Popover

0 components

UI elements you can copy into your project.

API reference

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

Popover.Content

Floating content overlay.

Prop Type Default Description
ref bind: HTMLElement | null null
class as className string —
sideOffset number 4
align string "center"
portalProps — —
...restProps Record<string, unknown> — Remaining attributes, spread onto the underlying element.

Popover.Trigger

Floating content overlay.

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