About Site Widget Extensions

Site widgets are draggable UI components that Wix site owners can add to pages on their website. They enhance a site's functionality by displaying content or enabling site visitors to perform various tasks.

When working in the site editor, site owners can adjust the size of the widget, reposition it, and customize it using its settings panel.

The following example shows the Wix FAQ widget in the site editor:

Implementation options

You can add a site widget extension using:

  • Wix Blocks: Create a site widget in Wix's native app editor. Design your widget using visual layout and design tools, and code your business logic using Velo, Wix’s native coding solution.
  • Wix CLI: Create a widget using the CLI, with your code by default deployed on our servers. The creation and setup process of your widget takes place in the terminal. Then, to edit your widget, you write code directly in your CLI app project's files.
  • Self-hosted custom element: Create a site widget using custom element technology, with your code deployed on your own server. The custom element is essentially a new HTML tag that you define, which is made available in the Wix editors as a widget.

Interact with a user site

The way to interact with a user site from your site widget extension depends on your implementation. For widgets created with Blocks, use Velo. For widgets created via the CLI, use the Site API.

Was this helpful?
Yes
No