Displays rich content in a portal, triggered by a button. Uses native HTML popover API for accessibility and performance.
Dimensions
Set the dimensions for the layer.
Installation
CLI
Install the component using the StarUI CLI:
Examples
Placement
Control positioning with the side prop
Content positioned to the top.
Content positioned to the right.
Content positioned to the bottom.
Content positioned to the left.
Form Popover
Form inputs inside a popover with programmatic close
Dimensions
Set the dimensions for the layer.
Inline Help
Contextual help icon that opens a popover with guidance
Close Button
Explicit close button using PopoverClose
System Maintenance
Scheduled maintenance tonight from 2:00 AM to 4:00 AM EST. Some features may be unavailable.
API Reference
| Component | Description |
|---|---|
Popover |
Container that wires a unique signal to trigger and content using the native popover API |
PopoverTrigger |
Button that toggles the popover open/closed |
PopoverContent |
Floating content positioned via data_position with side and align controls |
PopoverClose |
Helper button that hides the popover; can be placed inside content |