How to draw UIs on top of the image

if you want it to use gl context, for text, there is a vtkTextActor. For sliders, there is vtkSliderWidget. I don’t think vtk.js has those equivalent classes.