How can I add custom React widgets to jupyterlab top toolbar(or toolbar within panels)?

Hi, I would love to be able to add custom React widgets to jupyterlab toolbar ( for example radix ui dropdown, or custom switch component)? How can I achieve that? Thanks

You can achieve this by combining https://github.com/jupyterlab/extension-examples/tree/main/toparea-text-widget and https://github.com/jupyterlab/extension-examples/tree/main/react-widget examples.

2 Likes