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, follow the setup instructions for the Editor API.