Using low level widgets - sliders etc in notebooks

Apologies if this is an obvious or stupid question. I’d like to be able to use something along the lines of ipywidgets in jupyter notebooks from R. We’re trying to provide similar notebooks for both python and R for SimpleITK. I’m wondering if it is feasible to access any of the components that plotly uses, for example sliders, checkboxes etc, and use them in a more general way - i.e connect them to something that isn’t a plot. Are you aware of other packages that might offer that kind of facility?


It looks like declarative widgets may have IRKernel support, but I didn’t see any examples: