- accent:
stringβ Web Chat component accent color.
Default:#0063B1 - backgroundColor:
stringβ Transcript background color.
Default:White - subtle:
stringβ Secondary component color.
Default:#767676 - paddingRegular:
numberβ Default padding for most visual components.
Default:10 - paddingWide:
numberβ Padding for suggestedAction buttons.
Default:20 - transitionDuration:
stringβ Transition duration for Bubble, Carousel, and StackedLayout.
Default:0s
- fontSizeSmall:
number | stringβ Font size for secondary components (e.g., sendStatus).
Default:'80%' - monospaceFont:
stringβ Font for ErrorBox (comma-space separated).
Default:'Consolas', 'Courier New', 'monospace' - primaryFont:
stringβ Font used in most visual components.
Default:'Calibri', 'Helvetica Neue', 'Arial', 'sans-serif'
- rootHeight:
number | stringβ Height of the root container.
Default:'100%' - rootWidth:
number | stringβ Width of the root container.
Default:'100%' - rootZIndex:
numberβ z-index for root container (creates stacking context).
Default:0
- avatarBorderRadius:
number | stringβ Border radius for bot/user avatars.
Default:'50%' - avatarSize:
numberβ Avatar height and width.
Default:40 - botAvatarBackgroundColor:
stringβ Background color (defaults to accent).
Default:undefined - botAvatarImage:
stringβ Image URL for bot avatar.
Default:undefined - botAvatarInitials:
stringβ Bot initials; must be''if image is used.
Default:undefined - userAvatarBackgroundColor:
stringβ Background color (defaults to accent).
Default:undefined - userAvatarImage:
stringβ Image URL for user avatar.
Default:undefined - userAvatarInitials:
stringβ User initials; must be''if image is used.
Default:undefined - showAvatarInGroup:
true | 'sender' | 'status'β Avatar grouping strategy.
Default:'status'
- bubbleBackground:
stringβ Background for bot bubbles.
Default:White - bubbleBorderColor:
stringβ Border color for bot bubbles.
Default:#E6E6E6 - bubbleBorderRadius:
numberβ Border radius for bot bubbles.
Default:2 - bubbleBorderStyle:
stringβ Border style for bot bubbles.
Default:'solid' - bubbleBorderWidth:
numberβ Border width for bot bubbles.
Default:1 - bubbleFromUserBackground:
stringβ Background for user bubbles.
Default:White - bubbleFromUserBorderColor:
stringβ Border color for user bubbles.
Default:#E6E6E6 - bubbleFromUserBorderRadius:
numberβ Border radius for user bubbles.
Default:2 - bubbleFromUserBorderStyle:
stringβ Border style for user bubbles.
Default:'solid' - bubbleFromUserBorderWidth:
numberβ Border width for user bubbles.
Default:1 - bubbleFromUserNubOffset:
number | 'bottom' | 'top'β Nub offset for user bubble.
Default:0 - bubbleFromUserNubSize:
numberβ Nub size for user bubble.
Default:undefined - bubbleFromUserTextColor:
stringβ Text color for user bubble.
Default:Black - bubbleImageHeight:
numberβ Max height for images inside bubble.
Default:240 - bubbleMaxWidth:
numberβ Max width for bubble.
Default:480 - bubbleMinHeight:
numberβ Min height for bubble.
Default:40 - bubbleMinWidth:
numberβ Min width for bubble.
Default:250 - bubbleNubOffset:
number | 'bottom' | 'top'β Nub offset for bot bubble.
Default:0 - bubbleNubSize:
numberβ Nub size for bot bubble.
Default:undefined - bubbleTextColor:
stringβ Text color for bot bubble.
Default:Black
- messageActivityWordBreak:
'normal' | 'break-all' | 'break-word' | 'keep-all'β Word-break setting for message activity.
Default:'break-word'
- connectivityIconPadding:
numberβ Padding around the connectivity icon.
Default:12(based onpaddingRegular * 1.2) - connectivityMarginLeftRight:
numberβ Horizontal margin.
Default:14(based onpaddingRegular * 1.4) - connectivityMarginTopBottom:
numberβ Vertical margin.
Default:8(based onpaddingRegular * 0.8) - connectivityTextSize:
number | stringβ Text size for connectivity messages.
Default:'75%' - failedConnectivity:
number | stringβ Styling when connection fails.
Default:'#C50F1F' - slowConnectivity:
stringβ Styling for slow connection.
Default:'#EAA300' - notificationText:
stringβ Color for connectivity notification text.
Default:'#5E5E5E' - slowConnectionAfter:
numberβ Delay before showing slow connection.
Default:15000(ms)
- emojiSet:
boolean | Record<string, string>β Emoji support or custom emoji map.
Default:true
- internalLiveRegionFadeAfter:
numberβ Time before live region announcements fade.
Default:1000(ms)
- markdownRespectCRLF:
booleanβ Preserve line breaks in markdown.
Default:true - markdownExternalLinkIconImage:
stringβ Image shown on external links.
Default: a base64-encoded SVG icon (very long string)
- hideScrollToEndButton:
booleanβ Hides "scroll to end" button.
Default:false - autoScrollSnapOnActivity:
boolean | numberβ Auto-scroll pause after new activity.
Default:false - autoScrollSnapOnActivityOffset:
numberβ Pixel offset after auto-scroll.
Default:0 - autoScrollSnapOnPage:
boolean | numberβ Auto-scroll pause based on page fill.
Default:false - autoScrollSnapOnPageoffset:
numberβ Pixel offset after scroll snap.
Default:0
- hideSendBox:
booleanβ Hide the send box.
Default:false - hideUploadButton:
booleanβ Hide the file upload button.
Default:false - microphoneButtonColorOnDictate:
stringβ Mic button color during dictation.
Default:'#F33' - sendBoxBackground:
stringβ Background color of send box.
Default:'White' - sendBoxButtonColor:
stringβ Button color.
Default:undefined - sendBoxButtonColorOnDisabled:
stringβ Color when button is disabled.
Default:'#CCC' - sendBoxButtonColorOnFocus:
stringβ Button color on focus.
Default:'#333' - sendBoxButtonColorOnHover:
stringβ Button color on hover.
Default:'#333' - sendBoxDisabledTextColor:
stringβ Color of disabled text.
Default:undefined - sendBoxHeight:
number | stringβ Send box height.
Default:40 - sendBoxMaxHeight:
number | stringβ Max height of send box.
Default:200 - sendBoxTextColor:
stringβ Color of input text.
Default:'Black' - sendBoxBorderBottom:
number | stringβ Bottom border.
Default:undefined - sendBoxBorderLeft:
number | stringβ Left border.
Default:undefined - sendBoxBorderRight:
number | stringβ Right border.
Default:undefined - sendBoxBorderTop:
number | stringβ Top border.
Default:'solid 1px #E6E6E6' - sendBoxPlaceholderColor:
stringβ Placeholder text color.
Default:undefined - sendBoxTextWrap:
booleanβ Allow text to wrap.
Default:false - sendBoxButtonAlignment:
'bottom' | 'stretch' | 'top'β Button alignment.
Default:'stretch'
- showSpokenText:
booleanβ Show spoken (speech-to-text) output.
Default:false
- spinnerAnimationBackgroundImage:
stringβ Spinner image.
Default:undefined - spinnerAnimationHeight:
number | stringβ Height of spinner.
Default:16 - spinnerAnimationWidth:
number | stringβ Width of spinner.
Default:16 - spinnerAnimationPadding:
number | stringβ Padding around spinner.
Default:12
- suggestedActionBackground:
stringβ Background color of suggested action buttons.
Default:'White' - suggestedActionBorderColor:
stringβ Border color (defaults to accent).
Default:undefined - suggestedActionBorderRadius:
number | stringβ Border radius.
Default:0 - suggestedActionBorderStyle:
stringβ Border style.
Default:'solid' - suggestedActionBorderWidth:
number | stringβ Border width.
Default:2 - suggestedActionDisabledBackground:
stringβ Background when disabled.
Default:undefined - suggestedActionDisabledBorderColor:
stringβ Border color when disabled.
Default:'#E6E6E6' - suggestedActionDisabledBorderStyle:
stringβ Border style when disabled.
Default:'solid' - suggestedActionDisabledBorderWidth:
number | stringβ Border width when disabled.
Default:2 - suggestedActionDisabledTextColor:
stringβ Text color when disabled.
Default:undefined - suggestedActionHeight:
number | stringβ Button height.
Default:40 - suggestedActionImageHeight:
number | stringβ Image height.
Default:20 - suggestedActionLayout:
'carousel' | 'flow' | 'stacked'β Layout of suggested actions.
Default:'carousel' - suggestedActionTextColor:
stringβ Text color.
Default:undefined
- suggestedActionsCarouselFlipperCursor:
stringβ Mouse cursor on carousel flippers.
Default:undefined - suggestedActionsCarouselFlipperBoxWidth:
numberβ Flipper container width.
Default:40 - suggestedActionsCarouselFlipperSize:
numberβ Visible flipper size.
Default:20
- suggestedActionsFlowMaxHeight:
undefinedβ Max height for flow layout.
Default:undefined
- suggestedActionsStackedHeight:
number | 'auto'β Max height for stacked layout.
Default:undefined - suggestedActionsStackedOverflow:
'string'β Overflow setting.
Default:undefined - suggestedActionsStackedLayoutButtonMaxHeight:
number | stringβ Max height of buttons.
Default:undefined - suggestedActionsStackedLayoutButtonTextWrap:
booleanβ Enable text wrap for long button text.
Default:false
- groupTimestamp:
booleanβ Whether to group timestamps.
Default:true - sendTimeout:
numberβ Timeout for sending messages.
Default:20000 - sendTimeoutForAttachments:
numberβ Timeout for sending attachments.
Default:120000 - timestampColor:
stringβ Color of the timestamp.
Default:undefined - timestampFormat:
'absolute' | 'relative'β Timestamp format style.
Default:'relative'
- transcriptTerminatorBackgroundColor:
stringβ Background of terminator line.
Default:'#595959' - transcriptTerminatorBorderRadius:
number | stringβ Radius for terminator.
Default:5 - transcriptTerminatorColor:
stringβ Text color of terminator.
Default:'White' - transcriptTerminatorFontSize:
number | stringβ Font size.
Default:12 - transcriptActivityVisualKeyboardIndicatorColor:
stringβ Color of visual keyboard indicator on activities.
Default:'#767676' - transcriptActivityVisualKeyboardIndicatorStyle:
stringβ Style (e.g., solid/dashed).
Default:'dashed' - transcriptActivityVisualKeyboardIndicatorWidth:
number | stringβ Width.
Default:1 - transcriptVisualKeyboardIndicatorColor:
stringβ Color for transcript-wide keyboard indicators.
Default:'Black' - transcriptVisualKeyboardIndicatorStyle:
stringβ Line style.
Default:'solid' - transcriptVisualKeyboardIndicatorWidth:
number | stringβ Line width.
Default:2
- newMessagesButtonFontSize:
number | stringβ Font size for "new messages" button.
Default:'85%' - transcriptOverlayButtonBackground:
stringβ Background color.
Default:'rgba(0, 0, 0, .6)' - transcriptOverlayButtonBackgroundOnDisabled:
stringβ Background when disabled.
Default:'rgba(0, 0, 0, .6)' - transcriptOverlayButtonBackgroundOnFocus:
stringβ Background on focus.
Default:'rgba(0, 0, 0, .8)' - transcriptOverlayButtonBackgroundOnHover:
stringβ Background on hover.
Default:'rgba(0, 0, 0, .8)' - transcriptOverlayButtonColor:
stringβ Text color.
Default:'White' - transcriptOverlayButtonColorOnDisabled:
stringβ Disabled text color.
Default:'White' - transcriptOverlayButtonColorOnFocus:
stringβ Text color on focus.
Default:undefined - transcriptOverlayButtonColorOnHover:
stringβ Text color on hover.
Default:undefined
- notificationDebounceTimeout:
numberβ Time before showing next toast.
Default:400(ms) - hideToaster:
booleanβ Hide toast notifications.
Default:false - toasterHeight:
number | stringβ Toast container height.
Default:32 - toasterMaxHeight:
number | stringβ Max height for all toasts.
Default:160(5 Γ 32) - toasterSingularMaxHeight:
number | stringβ Max height for a single toast.
Default:50 - toastFontSize:
number | stringβ Font size.
Default:'87.5%' - toastIconWidth:
number | stringβ Icon width.
Default:36 - toastSeparatorColor:
stringβ Separator color.
Default:'#E8EAEC' - toastTextPadding:
number | stringβ Padding for toast text.
Default:6 - toastErrorBackgroundColor:
stringβ Background color for error toast.
Default:'#FDE7E9' - toastErrorColor:
stringβ Text color for error toast.
Default:'#A80000' - toastInfoBackgroundColor:
stringβ Background color for info toast.
Default:'#CEF1FF' - toastInfoColor:
stringβ Text color for info toast.
Default:'#105E7D' - toastSuccessBackgroundColor:
stringβ Background color for success toast.
Default:'#DFF6DD' - toastSuccessColor:
stringβ Text color for success toast.
Default:'#107C10' - toastWarnBackgroundColor:
stringβ Background color for warning toast.
Default:'#FFF4CE' - toastWarnColor:
stringβ Text color for warning toast.
Default:'#3B3A39'
- typingAnimationBackgroundImage:
stringβ Image used for typing indicator.
Default:undefined - typingAnimationDuration:
numberβ Duration in ms.
Default:5000 - typingAnimationHeight:
number | stringβ Height of the typing indicator.
Default:20 - typingAnimationWidth:
number | stringβ Width of the typing indicator.
Default:64
- enableUploadThumbnail:
booleanβ Enable image thumbnails for uploads.
Default:true - uploadThumbnailContentType:
stringβ MIME type for thumbnail.
Default:'image/jpeg' - uploadThumbnailHeight:
number | stringβ Height of the thumbnail.
Default:360 - uploadThumbnailQuality:
numberβ Compression quality (0-1).
Default:0.6 - uploadThumbnailWidth:
number | stringβ Width of the thumbnail.
Default:720
- videoHeight:
number | stringβ Height of the video component.
Default:270
This Gist is part of a blog post: https://medium.com/@svdoever/botframework-web-chat-take-control-of-the-ui-part-1-styleset-properties-f48aa34c1c84