How to show card when you hover on a link field in frappe?

I want something like this how can i show that card when we hover on a link field in frappe ??

In that image i am hovering on the Transformers and it showing me a card how can i build that features of other Doctype of any other link field?

If “In Preview” is enabled then it will show it in the card.

1 Like