Widget appearance
In the Appearance section of the Live Chat widget configuration, define the widget layout and how the widget looks on your website. The available color settings depend on the widget design.
Widget design [#widget-design]
EARLY ACCESSLive Chat offers two widget designs: the legacy design and the redesigned widget. The legacy design remains temporarily available. The redesigned widget has an updated layout, built-in light and dark modes, and a simplified color model.
Core chat features, such as conversations, pre-chat forms, surveys, and attachments, work the same in both designs. The designs differ in the following ways:
- Appearance commands: The
set_themecommand and Advanced customization work only in the legacy design. Theset_ui_modecommand works only in the redesigned widget. - Eye-catcher quick replies: Only the redesigned widget shows quick replies in the eye-catcher.
To select the widget design:
- In the widget configuration, expand Appearance.
- Turn Use the new widget design on or off.
- Select Save widget.
The default design depends on whether you create or edit a widget. The following table shows the default design in each situation:
| Situation | Default design | Can you select the legacy design? |
|---|---|---|
| You create your first widget | Redesigned widget | No. After you save the widget, you can edit it and switch to the legacy design. |
| You create one more widget | Redesigned widget | Yes |
| You edit a widget | Saved design | Yes |
When you switch to the legacy design, the widget uses your saved legacy colors and Advanced customization themes again. The redesigned widget does not change these values.
Design settings [#redesigned-widget-settings]
The settings in the Appearance section depend on the widget design. Select the tab for your design:
The redesigned widget has the following settings:
- Widget title: The widget header title identifies the purpose of your widget for customers or shows your brand name.
- Logo: Your brand logo for the widget header. Upload one SVG, PNG, JPG, or JPEG file up to 150 KB.
- Default theme: The mode the widget uses when it opens:
- Light: The widget opens in light mode.
- Dark: The widget opens in dark mode.
- Match system: The widget follows the system appearance of the end user and changes when the system appearance changes. This is the default option.
- Light primary color: Color of buttons and customer chat bubbles in light mode. The default color is
#383533. - Dark primary color: Color of buttons and customer chat bubbles in dark mode. The default color is
#FFFFFF. - Widget icon, Widget position, Icon appears, Widget expands, and Display the watermark: These settings work the same as in the legacy design. Default widget icons use the primary color of the active mode. Uploaded icons do not change.
The settings page shows only the colors that the selected Default theme uses:
- Light: Shows Light primary color.
- Dark: Shows Dark primary color.
- Match system: Shows both colors. Use the Light and Dark options in the preview to check both modes. The settings page does not save the preview selection.
Enter a HEX color in the #RGB or #RRGGBB format. The widget uses white or dark text and icons on the primary color, depending on which option has better contrast. The primary color itself does not change. If the contrast is low, the settings page shows a warning. In that case, select a different primary color.
Each mode uses predefined background, text, border, and status colors.


Select Reset to default to restore the default widget title, logo, widget icon, widget position, and timing. For the redesigned widget, the reset also sets Default theme to Match system and restores both default primary colors.
To change the mode on your website at runtime, use the set_ui_mode command.
The legacy widget has the following settings:
- Widget title: The widget header title can uniquely identify the purpose of your widget for customers or represent your brand name.
- Logo: Your brand logo, displayed on the widget header. Upload one SVG, PNG, JPG, or JPEG file up to 150 KB. The recommended size is 300 × 300 pixels.
- Primary color: Color of the widget header, customer message bubbles, and send button. Select a color or enter a HEX code from your brand book.
- Primary text color: Color of customer text messages.
- Background color: Background color of messages.
- Widget icon: Upload your widget icon and set how the widget appears in a collapsed view on a website. Default icons use the primary color settings. The recommended size is 300 × 300 pixels.
- Widget position: Where the widget icon appears on the website. The default placement is the bottom right corner.
- Icon appears: When the widget icon appears on the website: Immediately (default), or after 5, 10, or 15 seconds.
- Widget expands: When the widget opens: Only when clicked (default), Immediately, or after 5, 10, or 15 seconds.
- Display the watermark: Shows the Infobip watermark section in your widget.

Legacy-only settings [#legacy-widget-settings]
The Legacy widget tab in Design settings lists all legacy settings. The redesigned widget does not use the following legacy settings:
- Primary color, Primary text color, and Background color
- Advanced customization, including custom themes, CSS variables, and custom fonts
The settings page hides these settings for the redesigned widget and keeps their saved values.
Advanced customization [#advanced-customization]
Advanced customization is available only for the legacy design and will be deprecated. Use it to apply custom themes, CSS variables, and custom fonts to the widget.
Agent and avatar settings [#agent-and-avatar-settings]
Default agent and chatbot avatars give you more flexibility in your widget layout. Configure a default avatar to replace agent avatars with a unified brand icon.
Some businesses have strict security policies that prevent them from showing agent names to end users. To hide agent names, use the Hide agent identity option.
The Agent and avatar settings section has the following options:
- Hide avatars: Messages appear in the widget without avatars.
- Hide agent identity: Hides individual agent names and uses a shared agent title instead.
- Default agent avatar: The avatar that the widget shows for agents.
- Default chatbot avatar: The avatar that the widget shows for chatbots.
For each default avatar, you can upload one JPEG, JPG, SVG, or PNG file up to 1 MB.
To configure agent and avatar settings:
- To show messages without avatars, turn on Hide avatars.
- To hide agent names, turn on Hide agent identity. Then configure a default public name for all agents, for example, Consultant or Support.
- Upload the Default agent avatar and the Default chatbot avatar.
- Select Save widget.
End-user experience [#end-user-experience]
The widget shows end users the following information during a conversation:
- Message statuses: All sent messages show a status (Sent, Delivered, Seen, or Failed to send), so the end user can see if their message reached the customer representative. If a message fails to send, for example, because there is no internet connection, the end user can retry.
- Real-time conversation events: The end user sees in real time when an agent joins or types, and when the conversation is solved.
- Widget icon (launcher): The icon indicates received and unread messages. You can use an animated GIF as the widget icon to draw additional attention to the chat.
Surveys [#surveys]
Widget surveys let you collect and analyze customer feedback about a specific conversation.
Based on the configured conversation surveys, a survey appears in the widget. The end user can close the survey at any time, rate their conversation experience as Satisfied or Dissatisfied (thumbs up or down in the legacy design), and add an optional comment if the survey asks a follow-up question.
For end users who use the in-app chat in your mobile app, a push notification takes them directly to the survey in the app.
By default, the feedback window remains available for 1 minute. If the end user is inactive during this period, the survey is not displayed after the conversation context has ended.


JavaScript SDK: set_ui_mode
Change the widget mode on your website at runtime.
General settings
Set the widget display, threads, calls, and language.
Welcome messages
Greet customers and add quick replies.
Was this page helpful?