# ASP.NET Core TextBox Overview

The Telerik UI TextBox TagHelper and HtmlHelper for ASP.NET Core are server-side wrappers for the Kendo UI TextBox widget.

The TextBox provides a set of [default API configuration options](https://www.telerik.com/aspnet-core-ui/documentation/api/textbox) that can be set during its initialization such as value, placeholder, and so on.

* [Demo page for the TextBox HtmlHelper](https://demos.telerik.com/aspnet-core/textbox/index)

* [Demo page for the TextBox TagHelper](https://demos.telerik.com/aspnet-core/textbox/tag-helper)

## Basic Configuration

The following example demonstrates the basic configuration for the TextBox.

```Razor HtmlHelper
	@(Html.Kendo().TextBox()
		.Name("textbox") // The name of the TextBox is mandatory. It specifies the "id" attribute of the TextBox.
		.Value("John Doe") // Set the value of the TextBox.
	)
```

```Razor TagHelper
    <kendo-textbox name="textbox"
               value="John Doe">
    </kendo-textbox>
```

> Starting with the 2024 Q3 release, the HtmlHelper version of the component supports [declarative initialization](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/helper-basics/declarative-initialization).

## Functionality and Features

* [Appearance](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/editors/textbox/appearance)—The TextBox comes with built-in styling options that allow you to customize the appearance of the component.
* [Labels](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/editors/textbox/labels)—You can associate the TextBox with a label.
* [Accessibility](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/editors/textbox/accessibility/overview)—The TextBox is accessible by screen readers and provides WAI-ARIA, Section 508, WCAG 2.2, and keyboard support.
* [RTL support](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/editors/textbox/rtl-support)—You can use the Right-to-left (RTL) support of the TextBox to render its content for right-to-left languages, such as Arabic, Hebrew, Chinese, or Japanese.
* [Events](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/editors/textbox/events)—The TextBox emits multiple events that you can handle and control the behavior of the component.

> tip To learn more about the appearance, anatomy, and accessibility of the TextBox, visit the [Progress Design System documentation](https://www.telerik.com/design-system/docs/components/textbox/)—an information portal offering rich component usage guidelines, descriptions of the available style variables, and globalization support details.

## Next Steps

* [Getting Started with the TextBox](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/editors/textbox/getting-started)

* [Basic Usage of the TextBox HtmlHelper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/textbox/index)

* [Basic Usage of the TextBox TagHelper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/textbox/tag-helper)

## See Also

* [Using the API of the TextBox for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/textbox/api)
* [Knowledge Base Section](https://www.telerik.com/aspnet-core-ui/documentation/knowledge-base)
