Introduction

The Inputs API enables you to request various types of inputs from a site owner working in the editor, such as opening a color picker panel in the editor and prompting the user to select a color. This API is intended for use in the settings panel of a site widget or site plugin implemented with a custom element.

To use the Inputs API, install the @wix/editor package using npm or Yarn:

Copy
npm install @wix/editor

or

Copy
yarn add @wix/editor

Then import the inputs module from @wix/editor:

Copy
import { inputs } from '@wix/editor
Did this help?