Powerful popover Component, which provides the best UX for your users.
import Popover from '@paljs/ui/Popover';
Popover has different placements, such as: top, bottom, left, right, start and end which can be used as following:
Popover has a number of triggers which provides an ability to show and hide the component in different ways:
Click mode shows the component when a user clicks on the host element and hides when the user clicks somewhere on the document outside the component.
Hint provides capability to show the component when the user hovers over the host element and hide when the user hovers out of the host.
Hover works like hint mode with one exception - when the user moves mouse from host element to the container element the component remains open, so that it is possible to interact with it content.
Focus mode is applied when user focuses the element.
you can Add component in overlay props see example: