In this post I am going to explain how to create custom widget in magento 2. First we will create the widget configuration file widget.xml, that contains all widget fields. So, create the widget.xml file with following content. File Path: etc/widget.xml

“Dropdown Field” is a select box and we have defined a custom source:…