Brand and header
Widget / Brand

Brand and header

Accent color, theme, widget language, logo and header, the launcher button, “Powered by” and the reaction emoji.

Where to configure it

SettingsWidget BuilderBrand. All changes go into cfg.brand. The preview on the right updates right away, and visitors see them after you press Publish.

Color and theme

accent_color
Type: stringDefault: #6366f1
Accent color: the launcher, the send button, the visitor’s messages and other accents. The backend only accepts the #RRGGBB format.
accent_gradient
Type: { from_color, to_color, angle }Default: null
Gradient accent: a two-color gradient on the launcher and accent backgrounds. Text and borders keep the solid accent color. Empty means no gradient.
theme
Type: "light" | "dark" | "auto"Default: "auto"
The panel’s Theme: Auto (system), Light, Dark. auto follows the visitor’s system setting via prefers-color-scheme and switches as soon as the visitor changes their system theme.

Widget language

language
Type: "auto" | "ru" | "en"Default: "auto"
Widget language, right below Theme: Auto, Always Russian or Always English.

Always Russian and Always English show every visitor one language. Everything follows it: the widget’s buttons and labels, dates, your builder texts (the widget takes that language’s variant of each RU/EN text) and the language the widget reports to the server, so system messages to the visitor come in it too. The builder preview switches to it as well. A language your site sets with data-locale or SupportHub.init({ locale }) has no effect then.

Auto (the default) picks the language in this order:

  1. The language your site sets: SupportHub.init({ locale }) or the data-locale attribute on the script tag (see Installation). It always applies.
  2. The page language (<html lang="…">), then the browser language, but only if the project’s texts exist in that language.
  3. Otherwise, the project’s main language.

The project’s texts exist in a language when every text you changed in the builder is available in it: the greeting and subtitle, the header title and subtitle, the project name, button texts, quick replies, topics and their fields, the pinned banner (when it’s on), the system messages that are on, the email bridge texts (when it’s on), the rating prompt (when rating is on) and so on. A text with RU/EN variants counts for the languages it’s filled in for. A text typed without language variants counts in the language of its script: Cyrillic means Russian, two or more Latin words mean English, and brand names, emoji and numbers fit any language. Texts you haven’t changed exist in both languages.

The project’s main language is the project’s default_locale setting if it’s set, otherwise English if the project’s texts are in English only, and Russian in every other case. You can see the result in the public config, under computed.locales (see the field reference).

Logo and header

logo_url
Type: stringDefault: —
The Logo in the header, 32 px. Upload (PNG / JPEG / WebP / SVG) opens the logo editor: a square frame you zoom and drag the picture in, a background (none, the accent, the accent gradient or a color of your own), the shape, padding and the logo color — as is, white, black or the accent, which recolors every non-transparent pixel of a single-color logo. Next to it is the widget header on a light and on a dark panel. Save bakes a 256×256 picture, tile included, sends it to POST /api/workspaces/{ws}/widget-config/logo and embeds it in the config as a data: URL. That’s what the header, the chat avatars and the bot show. Edit opens the current logo in the editor, even one that never went through it. A picture behind an external link opens only if its server answers with CORS. Instead of uploading, you can open Use external URL and paste a link to an image. With no logo, the header shows the first letter of the name.
logo_source_url
Type: stringDefault: —
The original picture the editor baked logo_url from: the uploaded file (a photo over 256 KB is shrunk to a 1024 px WebP) or the previous logo. Builder-only: the widget’s public config doesn’t carry it.
logo_edit
Type: objectDefault: null
The editor’s parameters, so it reopens where it was left: crop {x, y, size}, the square of the source in units of its longer side, zoom 1–8, background {type: none | accent | gradient | custom, color}, padding 0–0.4 (a share of the tile’s side on each side), glyph original | white | black | accent and shape. The accent and the gradient are taken when you save: after changing the accent, open the logo and save it again. Builder-only as well.
logo_shape
Type: "circle" | "rounded" | "square"Default: "rounded"
The Shape of the logo (or of the letter shown instead): Circle, Rounded (8 px corners), Square (sharp corners). For a logo made in the editor, the shape is picked there and baked into the picture.
logo_transparent_bg
Type: booleanDefault: false
Transparent background. The image fits inside the container whole (object-fit: contain) instead of being cropped at the edges (cover), which suits logos with their own background and padding. For the letter shown instead of a logo, it removes the accent tile. The logo editor turns it on by itself: the baked picture carries its own tile.
project_name
Type: stringDefault: —
Project name: the first line of the header. If it’s set and differs from the header title, the title moves to the second line.
header_title
Type: stringDefault: "Support"
Header title: the first line of the header when no project name is set.
header_subtitle
Type: stringDefault: —
Header subtitle (optional): the second line, such as a tagline, contacts or what the team does. It isn’t shown if the header title already takes the second line.

Launcher button

The button sits in the bottom right corner of the page. As long as WelcomeCTA button text has text (“Send a message” by default), the button is a pill with an icon and that text. If you clear the text, a round icon button remains.

launcher_icon_url
Type: stringDefault: —
Upload icon: your own icon instead of the default chat icon (PNG / JPEG / WebP / SVG up to 256 KB). Reset brings back the default.
launcher_icon_only
Type: booleanDefault: false
Show icon only: hides the text on the button without deleting it.
launcher_icon_transparent_bg
Type: booleanDefault: false
Transparent background (full size): your icon fills the whole button with no accent backing. For icons with their own background or shape.

«Powered by SupportHub»

While the panel is open, on a computer, a “Powered by SupportHub” link is shown next to the widget button. The Hide “Powered by SupportHub” toggle in the Brand section removes it. It’s available on the Business and Enterprise plans and locked on the others.

The link points at our site and carries campaign tags: utm_source is the domain of the page the widget sits on, plus utm_medium=widget and utm_campaign=branding. They tell us how many people came to us from your site. They say nothing about the visitors themselves.

Reaction emoji

SettingsWidget BuilderEmoji Pack, the Custom emoji field (brand.emoji_pack_id): the four emoji the visitor sees when they hold a finger or the cursor on an operator’s message. The default is ❤️ 👍 👎 🎉. Enter your own, separated by commas or spaces:

❤️,🔥,👍,🎉

The first four are used. If you enter fewer, the empty slots get the default emoji from the same positions. Composite emoji (✋🏿, 🏳️‍🌈) stay intact, but emoji written together without a separator count as one. An empty field means the default set.

The reaction panel opens with a 350 ms long-press or a 600 ms hover, and only on an operator’s messages.

What doesn’t work yet

Was this page helpful?