Overview
The IllumiChat widget can be customized to match your website’s branding and design. This guide covers visual customization throughdata-* attributes, CSS overrides, and programmatic control via the SDK.
Colors
Set the primary color using thedata-primary-color attribute. This color is applied to the launcher button, message bubbles, and interactive elements.
Position
Control where the widget launcher appears on the page.Suggested Messages
Display clickable message chips that visitors can tap to start a conversation quickly.Keep suggested messages short (under 40 characters each) so they display well on mobile devices. Aim for 3-4 messages.
The easiest way to enable these bubbles is the dashboard: Widget → Styles →
Popup messages lets you set up to 3 dedicated teaser messages and a delay,
with no embed changes needed. When popup messages are configured there, the
bubbles show those instead of your suggested messages, and clicking a bubble
opens the chat. Script-tag attributes still take priority over dashboard
settings. See Popup Messages.
Auto-Open
Automatically open the chat panel after a delay (in milliseconds):Launcher Icon
Customize the launcher button icon:Custom CSS
For advanced styling, you can target the widget’s shadow DOM elements using CSS custom properties (CSS variables).Mobile Behavior
The widget automatically adapts to mobile screens:- On screens narrower than 480px, the chat window expands to full width
- The launcher button is slightly smaller on mobile (48px vs 56px)
- Touch-friendly tap targets and scrolling are enabled
Programmatic Control
For dynamic control, use the JavaScript SDK to interact with the widget at runtime.Control Widget State
React to Events
Full Configuration Reference
Next Steps
Widget Installation
Install the widget on any website platform
SDK Reference
Complete JavaScript API reference for programmatic control