New to KendoReactLearn about KendoReact Free.

TextBoxProps

Updated on Feb 3, 2026

Represents the properties of the KendoReact TextBox component

NameTypeDefaultDescription

autoFocus?

boolean

Represents the autoFocus HTML attribute that will be applied to the input element of the TextBox. (Defaults to false)

fillMode?

"flat" | "solid" | "outline"

solid

Configures the fillMode of the TextBox.

The available options are:

  • solid
  • outline
  • flat

inputAttributes?

React.InputHTMLAttributes<HTMLInputElement>

Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.

onChange?

(event: TextBoxChangeEvent) => void

The onChange callback of the input element inside the TextBox.

prefix?

CustomComponent<any>

Sets a custom prefix to the TextBox component.

rounded?

"small" | "medium" | "large" | "full"

medium

Configures the roundness of the TextBox.

The available options are:

  • small
  • medium
  • large
  • full

size?

"small" | "medium" | "large"

medium

Configures the size of the TextBox.

The available options are:

  • small
  • medium
  • large

suffix?

CustomComponent<any>

Sets a custom suffix to the TextBox component.

valid?

boolean

Indicates if the component is in valid state

Not finding the help you need?
Contact Support