We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TextBox Control for JavaScript

The JavaScript and pure CSS text box component is used to edit or display text on forms to capture user names, phone numbers, etc. This control is an extended version of the HTML input element with icons, floating labels, different sizing, grouping, validation states, and more.

Pure CSS and JavaScript text box control

The text box can be rendered by using either a JavaScript version of the text box or a pure CSS-based text box. The JavaScript version helps add floating labels easily with minimal configuration, and can support all the features available in the pure CSS version of text box component.

Input group

Users can group icons, buttons, or text inside the text box with floating labels. This helps the user design common application interfaces like a text box with the search icon and @ with a username.

Floating label

The text box component floats placeholder text when the input receives focus. This can be achieved with or without a required attribute.

Different sizing

The text box control allows users to add different form sizing classes to help the user resize content automatically inside input group elements.

Validation states

There are validation styles for success, error, and warning states, which are used in most form controls.


This feature allows the text box control to handle more than one line of input.


Transform your applications today by downloading our free evaluation versionDownload Free Trial

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon