Skip to content
Documentation
Docs/EMBED

Style Target Map for Chatbot UI Control

Use style target paths to customize each widget section.

Styling Channel

text
Supported channel
- config.styleOverrides

Stable Root Selector

html
<script>
window.ChatbotSDK.mount("#cv-chat", {
chatbotKey: "ctx-cb-xxxxxxxxxxxxxxxx",
config: {
domId: "cv-chat-shell",
mode: "chat"
}
});
</script>

Use domId when you want your own stable CSS selector on the mounted root shell in addition to styleOverrides.

Layout Targets

styleOverrides PathApplied Region
layout.rootOuter chat shell container
layout.headerHeader row
layout.titleHeader title element
layout.messagesContainerScrollable messages section

Message Targets

styleOverrides PathApplied Region
userMessage.bubbleUser bubble container
userMessage.textUser message text
userMessage.avatarUser avatar wrapper
assistantMessage.bubbleAssistant bubble container
assistantMessage.textAssistant message text
assistantMessage.avatarAssistant avatar wrapper

Input and Widget Targets

styleOverrides PathApplied Region
input.wrapperInput section wrapper
input.containerInput row container
input.textareaTextarea element
input.sendButtonSend button
input.poweredByPowered-by text row
input.poweredByBrandPowered-by brand segment
widget.wrapperFloating wrapper (positioned shell)
widget.windowFloating chat window
widget.launcherFloating launcher button

Related References