Chat

The Chat component allows end users to communicate and exchange multimedia with other users or chatbots.

Sass Variables

The Telerik and Kendo UI Chat is a composite UI component. To configure and customize its appearance, use not only its dedicated Sass variables but also the Sass variables provided by the TextBox, Button, and Avatar components.

VariableDefault ValueComputed ValueValue
kendo-chat-padding-xk-spacing(4)var(--kendo-spacing-4, 1rem)Default: k-spacing(4)Computed: var(--kendo-spacing-4, 1rem)
Description: The horizontal padding of the Chat.
kendo-chat-padding-yk-spacing(4)var(--kendo-spacing-4, 1rem)Default: k-spacing(4)Computed: var(--kendo-spacing-4, 1rem)
Description: The vertical padding of the Chat.
kendo-chat-width500px500pxDefault: 500pxComputed: 500px
Description: The width of the Chat.
kendo-chat-height600px600pxDefault: 600pxComputed: 600px
Description: The height of the Chat.
kendo-chat-border-width1px1pxDefault: 1pxComputed: 1px
Description: The border width of the Chat.
kendo-chat-font-familyvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)Default: var( --kendo-font-family, inherit )Computed: var(--kendo-font-family, inherit)
Description: The font family of the Chat.
kendo-chat-font-sizevar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)Default: var( --kendo-font-size, inherit )Computed: var(--kendo-font-size, inherit)
Description: The font size of the Chat.
kendo-chat-line-heightvar( --kendo-line-height, normal )var(--kendo-line-height, normal)Default: var( --kendo-line-height, normal )Computed: var(--kendo-line-height, normal)
Description: The line height of the Chat.
kendo-chat-item-spacing-xk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The horizontal spacing between the items of the Chat.
kendo-chat-item-spacing-yk-spacing(4)var(--kendo-spacing-4, 1rem)Default: k-spacing(4)Computed: var(--kendo-spacing-4, 1rem)
Description: The vertical spacing between the items of the Chat.
kendo-chat-message-list-padding-x$kendo-chat-padding-xvar(--kendo-spacing-4, 1rem)Default: $kendo-chat-padding-xComputed: var(--kendo-spacing-4, 1rem)
Description: The horizontal padding of the Chat message list.
kendo-chat-message-list-padding-y$kendo-chat-padding-yvar(--kendo-spacing-4, 1rem)Default: $kendo-chat-padding-yComputed: var(--kendo-spacing-4, 1rem)
Description: The vertical padding of the Chat message list.
kendo-chat-message-list-spacing$kendo-chat-item-spacing-yvar(--kendo-spacing-4, 1rem)Default: $kendo-chat-item-spacing-yComputed: var(--kendo-spacing-4, 1rem)
Description: The spacing of the Chat message list.
kendo-chat-timestamp-font-sizevar( --kendo-font-size-sm, inherit )var(--kendo-font-size-sm, inherit)Default: var( --kendo-font-size-sm, inherit )Computed: var(--kendo-font-size-sm, inherit)
Description: The font size of the Chat timestamp.
kendo-chat-timestamp-line-heightvar( --kendo-line-height-lg, normal )var(--kendo-line-height-lg, normal)Default: var( --kendo-line-height-lg, normal )Computed: var(--kendo-line-height-lg, normal)
Description: The line height of the Chat timestamp.
kendo-chat-timestamp-transformuppercaseuppercaseDefault: uppercaseComputed: uppercase
Description: The text transform of the Chat timestamp.
kendo-chat-timestamp-text$kendo-subtle-textvar(--kendo-color-subtle, #666666)Default: $kendo-subtle-textComputed: var(--kendo-color-subtle, #666666)
Description: The text color of the Chat timestamp.
kendo-chat-timestamp-bgnullnullDefault: nullComputed: null
Description: The background color of the Chat timestamp.
kendo-chat-message-meta-font-sizevar( --kendo-font-size-sm, inherit )var(--kendo-font-size-sm, inherit)Default: var( --kendo-font-size-sm, inherit )Computed: var(--kendo-font-size-sm, inherit)
Description: The font size of the Chat message meta text.
kendo-chat-message-meta-line-heightvar( --kendo-line-height-lg, normal )var(--kendo-line-height-lg, normal)Default: var( --kendo-line-height-lg, normal )Computed: var(--kendo-line-height-lg, normal)
Description: The line height of the Chat message meta text.
kendo-chat-author-font-sizevar( --kendo-font-size-sm, inherit )var(--kendo-font-size-sm, inherit)Default: var( --kendo-font-size-sm, inherit )Computed: var(--kendo-font-size-sm, inherit)
Description: The font size of the Chat author text.
kendo-chat-author-line-heightvar( --kendo-line-height-lg, normal )var(--kendo-line-height-lg, normal)Default: var( --kendo-line-height-lg, normal )Computed: var(--kendo-line-height-lg, normal)
Description: The line height of the Chat author text.
kendo-chat-bubble-padding-xk-spacing(3)var(--kendo-spacing-3, 0.75rem)Default: k-spacing(3)Computed: var(--kendo-spacing-3, 0.75rem)
Description: The horizontal padding of the Chat bubble message.
kendo-chat-bubble-padding-yk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The vertical padding of the Chat bubble message.
kendo-chat-bubble-spacingk-spacing(0.5)var(--kendo-spacing-0\.5, 0.125rem)Default: k-spacing(0.5)Computed: var(--kendo-spacing-0\.5, 0.125rem)
Description: The spacing of the Chat bubble message.
kendo-chat-bubble-line-heightvar( --kendo-line-height, normal )var(--kendo-line-height, normal)Default: var( --kendo-line-height, normal )Computed: var(--kendo-line-height, normal)
Description: The line height of the Chat bubble message.
kendo-chat-bubble-border-radius12px12pxDefault: 12pxComputed: 12px
Description: The border radius of the Chat bubble message.
kendo-chat-bubble-border-radius-sm2px2pxDefault: 2pxComputed: 2px
Description: The border radius of the Chat small bubble message
kendo-chat-avatar-size32px32pxDefault: 32pxComputed: 32px
Description: The size of the Chat Avatar.
kendo-chat-avatar-spacing$kendo-chat-item-spacing-xvar(--kendo-spacing-2, 0.5rem)Default: $kendo-chat-item-spacing-xComputed: var(--kendo-spacing-2, 0.5rem)
Description: The spacing of the Chat Avatar.
kendo-chat-toolbar-padding-x$kendo-toolbar-md-padding-xvar(--kendo-spacing-2, 0.5rem)Default: $kendo-toolbar-md-padding-xComputed: var(--kendo-spacing-2, 0.5rem)
Description: The horizontal padding of the Chat Toolbar.
kendo-chat-toolbar-padding-y$kendo-toolbar-md-padding-yvar(--kendo-spacing-2, 0.5rem)Default: $kendo-toolbar-md-padding-yComputed: var(--kendo-spacing-2, 0.5rem)
Description: The vertical padding of the Chat Toolbar.
kendo-chat-toolbar-spacing$kendo-toolbar-md-spacingvar(--kendo-spacing-2, 0.5rem)Default: $kendo-toolbar-md-spacingComputed: var(--kendo-spacing-2, 0.5rem)
Description: The spacing of the Chat Toolbar.
kendo-chat-toolbar-bg$kendo-toolbar-bgvar(--kendo-color-surface, #fafafa)Default: $kendo-toolbar-bgComputed: var(--kendo-color-surface, #fafafa)
Description: The background color of the Chat Toolbar.
kendo-chat-toolbar-text$kendo-toolbar-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-toolbar-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of the Chat Toolbar.
kendo-chat-toolbar-borderinheritinheritDefault: inheritComputed: inherit
Description: The border color of the Chat Toolbar.
kendo-chat-quick-reply-padding-xk-spacing(3)var(--kendo-spacing-3, 0.75rem)Default: k-spacing(3)Computed: var(--kendo-spacing-3, 0.75rem)
Description: The horizontal padding of the Chat quick reply.
kendo-chat-quick-reply-padding-yk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The vertical padding of the Chat quick reply.
kendo-chat-quick-reply-spacingk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The spacing of the Chat quick reply.
kendo-chat-quick-reply-line-height$kendo-chat-bubble-line-heightvar(--kendo-line-height, normal)Default: $kendo-chat-bubble-line-heightComputed: var(--kendo-line-height, normal)
Description: The line height of the Chat quick reply.
kendo-chat-bg$kendo-app-bgvar(--kendo-color-surface, #fafafa)Default: $kendo-app-bgComputed: var(--kendo-color-surface, #fafafa)
Description: The background color of the Chat.
kendo-chat-text$kendo-app-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-app-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of the Chat.
kendo-chat-border$kendo-app-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: $kendo-app-borderComputed: var(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description: The border color of the Chat.
kendo-chat-bubble-bg$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)Default: $kendo-component-bgComputed: var(--kendo-color-surface-alt, #ffffff)
Description: The background color of the Chat bubble.
kendo-chat-bubble-text$kendo-component-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-component-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of the Chat bubble.
kendo-chat-bubble-border$kendo-chat-bubble-bgvar(--kendo-color-surface-alt, #ffffff)Default: $kendo-chat-bubble-bgComputed: var(--kendo-color-surface-alt, #ffffff)
Description: The border color of the Chat bubble.
kendo-chat-bubble-shadowk-elevation(1)var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12))Default: k-elevation(1)Computed: var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12))
Description: The box shadow of the Chat bubble.
kendo-chat-bubble-hover-shadowk-elevation(2)var(--kendo-elevation-2, 0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12))Default: k-elevation(2)Computed: var(--kendo-elevation-2, 0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12))
Description: The shadow of the hovered Chat bubble.
kendo-chat-bubble-selected-shadowk-elevation(3)var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12))Default: k-elevation(3)Computed: var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12))
Description: The shadow of the selected Chat bubble.
kendo-chat-alt-bubble-bg$kendo-color-primaryvar(--kendo-color-primary, #ff6358)Default: $kendo-color-primaryComputed: var(--kendo-color-primary, #ff6358)
Description: The background color of the Chat alt bubble.
kendo-chat-alt-bubble-textif($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-chat-alt-bubble-bg ))var(--kendo-color-on-primary, #ffffff)Default: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-chat-alt-bubble-bg ))Computed: var(--kendo-color-on-primary, #ffffff)
Description: The text color of the Chat alt bubble.
kendo-chat-alt-bubble-border$kendo-chat-alt-bubble-bgvar(--kendo-color-primary, #ff6358)Default: $kendo-chat-alt-bubble-bgComputed: var(--kendo-color-primary, #ff6358)
Description: The border color of the Chat alt bubble.
kendo-chat-alt-bubble-shadowk-elevation(1)var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12))Default: k-elevation(1)Computed: var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12))
Description: The shadow of the Chat alt bubble.
kendo-chat-alt-bubble-hover-shadowk-elevation(2)var(--kendo-elevation-2, 0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12))Default: k-elevation(2)Computed: var(--kendo-elevation-2, 0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12))
Description: The shadow of the hovered Chat alt bubble.
kendo-chat-alt-bubble-selected-shadowk-elevation(3)var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12))Default: k-elevation(3)Computed: var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12))
Description: The shadow of the selected Chat alt bubble.
kendo-chat-quick-reply-bgtransparent transparentDefault: transparentComputed: transparent
Description: The background color of the Chat quick reply.
kendo-chat-quick-reply-text$kendo-color-primaryvar(--kendo-color-primary, #ff6358)Default: $kendo-color-primaryComputed: var(--kendo-color-primary, #ff6358)
Description: The text color of the Chat quick reply.
kendo-chat-quick-reply-border$kendo-color-primaryvar(--kendo-color-primary, #ff6358)Default: $kendo-color-primaryComputed: var(--kendo-color-primary, #ff6358)
Description: The border color of the Chat quick reply.
kendo-chat-quick-reply-hover-bg$kendo-color-primaryvar(--kendo-color-primary, #ff6358)Default: $kendo-color-primaryComputed: var(--kendo-color-primary, #ff6358)
Description: The background color of the hovered Chat quick reply.
kendo-chat-quick-reply-hover-text$kendo-color-primary-contrastvar(--kendo-color-on-primary, #ffffff)Default: $kendo-color-primary-contrastComputed: var(--kendo-color-on-primary, #ffffff)
Description: The text color of the hovered Chat quick reply.
kendo-chat-quick-reply-hover-border$kendo-color-primaryvar(--kendo-color-primary, #ff6358)Default: $kendo-color-primaryComputed: var(--kendo-color-primary, #ff6358)
Description: The border color of the hovered Chat quick reply.
kendo-chat-quick-reply-shadow-blur0px0pxDefault: 0pxComputed: 0px
Description: The shadow blur of the focused Chat quick reply.
kendo-chat-quick-reply-shadow-spread2px2pxDefault: 2pxComputed: 2px
Description: The shadow spread of the focused Chat quick reply.
kendo-chat-quick-reply-shadow-opacity.30.3Default: .3Computed: 0.3
Description: The shadow opacity of the focused Chat quick reply.
Feedback