The molecule widget is able to render using two backends, and it can be used in a very declarative way, as shown here.
Normal HTML layout elements can be used to size and place the elements on the page, with pointers to the data and specification of the rendering options to be applied.