For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
  • Overview
    • Quick Start
    • Sandboxes
    • Tools & SDKs
    • Support
  • Docs
      • Getting Started
        • Overview
        • Localization
          • Schema
            • Alignment
            • Boolean
            • Box Model
            • Code
            • Color
            • Element Settings
            • Image Manager
            • Input
            • Number
            • Product ID
            • Product Image
            • Range
            • Regex Input
            • Select
            • Text
            • Typography
            • Visibility
        • Examples
        • Widget Builder
        • Scripts
    • Archive
    • Closed Beta Programs
Dev Portal
LogoLogo
DocsAdminWidgets & ScriptsInput ReferenceUI Settings

Color

Was this page helpful?
Previous

Code

Next

Element Settings

Built with

Allows you to display color controls for your widget.


Widget Configuration Output

{
"backgroundColor": "#444444"
}

Note

  • The resulting color picker supports RGBA.
  • You can select transparent as a color. The returned value is the string “transparent”.

User Interface Output

output


JSON Schema

PropertyTypeDescriptionExample
typestringThe type of setting component to display.”color”
labelstringThe user friendly message to inform the user how this setting will be used.”Background color”
idstringThe variable name where the setting value will be available in the widget template.”backgroundColor”
defaultstringThe default value to use when rendering the widget for the first time.”#444444”