Top Placeholder — Trigger
Add the element that users will click to open or close the popover.
Examples:
Button
Icon
Text
Profile avatar
Custom UI element
Bottom Placeholder — Content
Add the content that should appear when the popover opens.
Action buttons
Navigation links
Information panels
Custom forms
Other OutSystems widgets
You can customize the popover by adding your own CSS using the ExtendedClass parameter.
ExtendedClass
Example:
.my-custom-popover .popover-content { min-width: 250px; padding: 16px; border-radius: 8px; }
Set the ExtendedClass parameter to:
my-custom-popover
The component automatically handles the following interactions:
Clicking the trigger opens the popover.
Clicking the same trigger closes it.
Clicking outside closes the active popover.
Pressing Escape closes the active popover.
Opening another popover closes the previously opened one.
The popover automatically adjusts its position when necessary.
The position is recalculated when the page is scrolled or resized.
Try the component in the live demo:
https://personal-7tgejs7g.outsystemscloud.com/PopoverDemo/Demo