The js GUI library is an extension you can use to generate interactive user interface. It is build on top of the DynamicTexture.
Documentation: https://doc.babylonjs.com/features/featuresDeepDive/gui/gui API: https://doc.babylonjs.com/api/modules/gui