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 TextArea, 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-width320px320pxDefault: 320pxComputed: 320px
Description: The minimum width of the Chat.
kendo-chat-height600px600pxDefault: 600pxComputed: 600px
Description: The minimum 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-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-max-widthmin(75%, 460px)min(75%, 460px)Default: min(75%, 460px)Computed: min(75%, 460px)
Description: The maximum width of the Chat message.
kendo-chat-message-gapk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The spacing between the items of the Chat message.
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-message-status-gapk-spacing(1)var(--kendo-spacing-1, 0.25rem)Default: k-spacing(1)Computed: var(--kendo-spacing-1, 0.25rem)
Description: The spacing between the icon and text in the Chat message status.
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-transformnonenoneDefault: noneComputed: none
Description: The text transform of the Chat timestamp.
kendo-chat-timestamp-textk-color(subtle)var(--kendo-color-subtle, #666666)Default: k-color(subtle)Computed: 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-timestamp-separator-bgk-color(border)var(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: k-color(border)Computed: var(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description: The background color of the Chat timestamp separator.
kendo-chat-timestamp-separator-spacingk-spacing(1)var(--kendo-spacing-1, 0.25rem)Default: k-spacing(1)Computed: var(--kendo-spacing-1, 0.25rem)
Description: The spacing between the Chat timestamp and its separator.
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-xs, normal )var(--kendo-line-height-xs, normal)Default: var( --kendo-line-height-xs, normal )Computed: var(--kendo-line-height-xs, normal)
Description: The line height of the Chat author text.
kendo-chat-status-textk-color(subtle)var(--kendo-color-subtle, #666666)Default: k-color(subtle)Computed: var(--kendo-color-subtle, #666666)
Description: The text color of the Chat status.
kendo-chat-bubble-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 bubble message.
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-bgk-color(surface)var(--kendo-color-surface, #fafafa)Default: k-color(surface)Computed: var(--kendo-color-surface, #fafafa)
Description: The background color of the Chat.
kendo-chat-textk-color(on-app-surface)var(--kendo-color-on-app-surface, #3d3d3d)Default: k-color(on-app-surface)Computed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of the Chat.
kendo-chat-borderk-color(border)var(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: k-color(border)Computed: var(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description: The border color of the Chat.
kendo-chat-typing-indicator-textk-color(base-on-subtle)var(--kendo-color-base-on-subtle, #3d3d3d)Default: k-color(base-on-subtle)Computed: var(--kendo-color-base-on-subtle, #3d3d3d)
Description: The color of the typing indicator dots.
kendo-chat-alt-bubble-bgk-color(primary)var(--kendo-color-primary, #ff6358)Default: k-color(primary)Computed: var(--kendo-color-primary, #ff6358)
Description: The background color of the Chat alt bubble.
kendo-chat-alt-bubble-textk-color(on-primary)var(--kendo-color-on-primary, #ffffff)Default: k-color(on-primary)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-shadownonenoneDefault: noneComputed: none
Description: The shadow of the Chat alt bubble.
kendo-chat-file-width240px240pxDefault: 240pxComputed: 240px
Description: The width of a file in the Chat Textarea.
kendo-chat-file-padding-xk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The horizontal padding of the Chat file.
kendo-chat-file-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 file.
kendo-chat-file-gapk-spacing(1)var(--kendo-spacing-1, 0.25rem)Default: k-spacing(1)Computed: var(--kendo-spacing-1, 0.25rem)
Description: The spacing between the elements of the Chat file.
kendo-chat-file-border-width1px1pxDefault: 1pxComputed: 1px
Description: The border width of the Chat file.
kendo-chat-file-border-stylesolidsolidDefault: solidComputed: solid
Description: The border style of the Chat file.
kendo-chat-file-bgk-color(base-subtle)var(--kendo-color-base-subtle, #ebebeb)Default: k-color(base-subtle)Computed: var(--kendo-color-base-subtle, #ebebeb)
Description: The background color of the Chat file.
kendo-chat-file-textk-color(base-on-subtle)var(--kendo-color-base-on-subtle, #3d3d3d)Default: k-color(base-on-subtle)Computed: var(--kendo-color-base-on-subtle, #3d3d3d)
Description: The text color of the Chat file.
kendo-chat-file-border$kendo-chat-file-bgvar(--kendo-color-base-subtle, #ebebeb)Default: $kendo-chat-file-bgComputed: var(--kendo-color-base-subtle, #ebebeb)
Description: The border color of the Chat file.
kendo-chat-file-border-radiusk-border-radius(md)var(--kendo-border-radius-md, 0.25rem)Default: k-border-radius(md)Computed: var(--kendo-border-radius-md, 0.25rem)
Description: The border-radius of the Chat file.
kendo-chat-file-download-padding-xk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The horizontal padding of the file download wrapper.
kendo-chat-file-download-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 file download wrapper.
kendo-chat-message-pinned-border-width1px1pxDefault: 1pxComputed: 1px
Description: The border width of the Chat pinned message;
kendo-chat-message-pinned-border-stylesolidsolidDefault: solidComputed: solid
Description: The border style of the Chat pinned message;
kendo-chat-message-pinned-border-colork-color(border)var(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: k-color(border)Computed: var(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description: The border color of the Chat pinned message;
kendo-chat-message-reference-padding-xk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The horizontal padding of the Chat message reference.
kendo-chat-message-reference-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 message reference.
kendo-chat-message-reference-bgk-color(surface)var(--kendo-color-surface, #fafafa)Default: k-color(surface)Computed: var(--kendo-color-surface, #fafafa)
Description: The background color of the Chat message reference.
kendo-chat-message-reference-textk-color(on-app-surface)var(--kendo-color-on-app-surface, #3d3d3d)Default: k-color(on-app-surface)Computed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of the Chat message reference.
kendo-chat-message-reference-marker-bgk-color(base-emphasis)var(--kendo-color-base-emphasis, #c2c2c2)Default: k-color(base-emphasis)Computed: var(--kendo-color-base-emphasis, #c2c2c2)
Description: The background color of the message reference marker.
kendo-chat-message-reference-marker-alt-bgk-color(primary-emphasis)var(--kendo-color-primary-emphasis, #ff9d97)Default: k-color(primary-emphasis)Computed: var(--kendo-color-primary-emphasis, #ff9d97)
Description: The background color of the message reference alt marker.
Feedback