Warning: This feature is deprecated. Instead, consider using an embedded script.
A pinned widget is a small element that can be added to any or all pages of an existing website, and is automatically placed in a specific location on a page.
When a pinned widget component is added by the user, it'll be placed in the position you set when you registered your app. The user will be able to change the position of the app only if you provide this option from the App Settings. Use the dock UI control to automatically bind the widget placement to the control in the App Settings.
Define your app’s default position in your app's dashboard. You can place it in one of these areas of the website:
If you placed the widget in one of the four centered areas, you can set it to be relative to the center or fixed to the edge of the screen.
Once the component has been added to its default position, the user can control its position from the App Settings (if you provided that option).
Note: The app layout should fit all the positions you support, you may have more than one layout.
Set widget placement and margin (App Settings)
Get widget placement and margin (App Settings)
Placement change event (Editor, Widget)
You’ll set the default size for the pinned widget in your app's dashboard, and users won’t be able to resize it in the Wix Editor.
Follow our UI/UX guidelines – we’ll show you how to decide your app’s default size, and how to create the right user experience when site visitors interact with your app.
For example, you can resize the app when a site visitor interacts with it in the live site. Make sure to reset the widget back to the default size when the user switches back to Edit mode, or when the site visitors clicks out of your app.
Resize widget