<popover> Component
The <popover>
component displays a small bubble near a trigger element, often with actions or additional context.
<popover>
component displays a small bubble near a trigger element, often with actions or additional context.🛠 Attributes
Attribute
Type
Required
Description
open
boolean
Yes
Controls visibility
position
string
No
top
, bottom
, left
, right
trigger
string
No
click
, hover
, manual
✅ Allowed Content
Trigger and content children (e.g., buttons, lists).
💡 Examples
Popover menu
🧩 AI Interpretation Guidelines
Render popover relative to the first child as trigger.
Toggle visibility based on
open
andtrigger
.Position based on the
position
attribute.
Last updated