Skip to main content

Custom widget

Executes HTML, CSS, and JavaScript in an iframe isolated from the DOM and the Sybot session.

Example of the Custom widget in the User View demo
note

The Custom widget appears in the catalog only when this capability has been enabled by the platform administrator.

Recommended configuration

  1. Open the code editor and configure HTML, CSS, JavaScript, and PDF fallback separately.
  2. Optionally associate a data source and use the Sybot SDK exclusively for data and events.
  3. Run the isolated preview, verify light/dark theme, and publish as owner.

Configuration options

AreaOptions
CodeSeparate editors for HTML, CSS, JavaScript, and the fallback used in PDF export.
Data and filtersOptional source, Sybot SDK, controlled filter emission, and target widgets.
PreviewIsolated execution, light/dark theme verification, and promotion to the custom widgets catalog.
IdentityTitle, Subtitle, header visibility, type icon, and actions button.
PresentationStandard, Compact, or Dense variant and message to show when no data is available.
AppearanceBackground, background image, border, radius, padding, shadow, and typography for different areas.
PositionCoordinates and dimensions in cells within the page or container grid.

Best practices

  • The runtime does not allow external network access, access to the parent, cookies, or direct Sybot APIs. Published code is inspectable by the browser.
tip

Always verify the widget in Preview, in both light and dark themes, and with an empty data state before publishing the View.