For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom UI

This article covers the Custom UI widget, its features, and how to use it.

Custom UI is a Ubidots widget that maps XML-like tags to form elements. Use it to create interactive forms with text fields, dropdown menus, and toggle buttons.

Here is a quick example of a simple UI created with the Custom UI widget:

The following XML maps to the UI shown above:

Available UI Components

There are three main components that can be used within the Custom UI widget:

  • Paragraph

  • Input combo

  • Button

Custom UI element
Description
Properties

Input combo

Displays an input field based on the type property.

  • type: the type of input field

  • id: a unique identifier used to access this field

  • label: the text label shown next to the input

  • description: a short description shown below the label to guide the user

  • placeholder: the text shown inside the input field

Paragraph

Displays headings or paragraphs based on the type.

  • type: paragraph type

Button

Displays a button whose color depends on the type.

  • type: defines the button color

  • click: a user-defined label that serves as a unique ID to link the button to an action.

The following screenshot shows each part of the UI displayed at the beginning of this section:

Last updated

Was this helpful?