You can display your site widget in the Add Elements panel of the site editor, allowing users to easily add it to their site.
Note: If you set your widget as essential, it can't be shown in the Add Elements panel. Essential widgets can only be added once per site.
Your widget appears in the panel's App Widgets section. When creating your site widget, configure the following content:
Learn more about creating a custom element site widget:
The following image shows how a widget appears in the panel:
When creating your preview image, consider the following: