Babylonjs tooltip examples playground

You may be interested in this thread: How to know if the html attached to the mesh is facing back

The playground shared by the OP should give you an idea how you can attach an HTML element to a 3D mesh. There is also some discussion about occluding the element if it’s behind something in your scene, though there isn’t a perfect solution for that.