Theme
Set the overall color scheme with the theme option:
This affects the floating button, loading screen, and the overall widget chrome. The agent content inside the iframe is styled independently through the Agent Builder style settings.
Chatbar Theming
The chatbar layout supports fine-grained visual customization through the options.theme property. Each value maps to a CSS variable on the chatbar container.
Theme Properties
All properties are optional. Unset properties use the defaults from the widget’s dark or light theme.
To match your site’s design exactly, inspect the chatbar element in DevTools and override additional CSS variables on the .thesys--chatbar-widget selector.
Chatbar Options
Beyond theming, the chatbar accepts functional options:
See Widget Types — Chatbar for more details on chatbar behavior.
Hiding the Login UI
If you’re using BYOI to identify users, you’ll typically want to hide the built-in Thesys login interface:
Preloading
By default, the agent iframe loads when the user first opens the widget. To eliminate that initial load delay, enable preloading:
The iframe loads invisibly in the background so the agent is ready instantly when the user opens it.