New to KendoReactStart a free 30-day trial

MessageBoxSettings
Premium

Updated on Feb 5, 2026

Configuration for the Message Box (PromptBox component).

NameTypeDefaultDescription

maxTextAreaHeight?

string

'110'

Sets the maximum height of the Message Box textarea in px. When the height exceeds this value, the Message Box height is fixed and a scrollbar appears. Applicable for multi and auto modes.

tsx
<Chat messageBoxSettings={{ maxTextAreaHeight: '300' }} />

mode?

PromptBoxMode

'multi'

Defines the line mode for the Message Box.

  • single—Single-line input field.
  • multi—Multi-line textarea that expands/collapses based on content.
  • auto—Starts as single-line and automatically expands to multi-line when needed.
tsx
<Chat messageBoxSettings={{ mode: 'auto' }} />

rows?

number

2

Sets the number of visible rows for the Message Box textarea.

tsx
<Chat messageBoxSettings={{ rows: 5 }} />
Not finding the help you need?
Contact Support