How to export widgets
You want to export a widget, lets see how
Enter the Dashboard tab.
Click on the context menu (three dots) located at the top right of the widget that you want to export.
Hoover over the Export option and select your desired file-format in the drop down menu that appears. The widget will now be downloaded in the file-format you've chosen.