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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
SUPPORTED FRAMEWORKS

Overview

The HTML5/JavaScript TextBox (text field) control is most useful for editing, displaying, or entering plain text on forms to capture user names, phone numbers, email, and more. This control is an extended version of the HTML5 TextBox (input type text) control with icons, floating labels, different sizing, grouping, validation states, and more. It is available in an HTML5/CSS version and a JavaScript version.


JavaScript TextBox

The JavaScript TextBox control provides a floating label with minimal configuration. It supports most of the features that are available in the pure HTML5/CSS version of the TextBox control.


HTML5/CSS TextBox

The simple HTML5 TextBox control renders using pure CSS and HTML. It supports all the essential features, such as input groups with icons, floating labels, multiline text, different sizing, validation states, and more.


Input group

Easily create input groups by prepending or appending icons, buttons, or text with floating labels in the TextBox control. For example, you can prepend text with a dollar symbol ($) for price input, or prepend an at sign (@) for user names.


Floating label (placeholder text)

The JavaScript TextBox control floats placeholder text to the top of the input box with an animation when the input receives focus, or the input has a value. The floating label is used to ensure the input value and label are always visible.


Input sizing

The HTML5 TextBox control has built-in sizing support (normal and small modes) to fit the input box’s size with sufficient padding and spacing.


Input validation with HTML forms

The JavaScript TextBox control can validate the input value and apply the corresponding validation styles for success, error, and warning states, which are used in most standard HTML forms.


Multiline input

The HTML5 TextBox control allows multiline input, making it capable of handling multiple lines of text with floating label support.


Get and set text box value

Easily set or retrieve the value in the JavaScript TextBox control to process it, and enable a clear button to allow users to reset the input value.


Right-to-left (RTL) rendering

The JavaScript TextBox control supports right-to-left (RTL) rendering. Users can change the text direction and layout of the TextBox control from right to left. This improves the user experience and accessibility for users who use RTL languages.


Themes

The JavaScript TextBox control has several built-in themes such as Material, Bootstrap, Fabric (Office 365), and high contrast. Users can customize any of these built-in themes or create new themes either by overriding Sass variables or using our Theme Studio application.

Developer-friendly APIs

Developers can control the appearance and behaviors of the JavaScript TextBox control, including its floating label, using a rich set of APIs.


50+ JAVASCRIPT UI CONTROLS

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

Scroll up icon

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