AJS method to create user profile link similar to $userformat.formatUserkey

I am looking for a way to render user full name, profile hover, avatar and link to profile similar to what I am able to do server side using velocity template and $userformat.formatUserkey.

It there some HTML template and then CSS classes to add? Or an AJS method to create the HTML?

Best regards
Holger

I found Solved: Formatting user profile links with JIRA.userhover(context);

Is this still valid?