I'd like to create the functionality that occurs when hovering over a record link in Lightning Community as pictured below:

Record Preview

Is there any standard Lightning component that would achieve this, or an action that can load a specific component within this kind of container?

Thanks for your help


There is a standard component lightning:overlayLibrary and you can use it with the showCustomPopover method to show a popover.

You will have to get the record data by yourself and display it in the popover by yourself

There is another option that I use from the strike open source library: Strike Popover. You will still have to get data and display it by yourself, but this component has more options, more simple, and open source so you can change it as you like

Good luck

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.