# Character Counter

A common scenario for the TextBox component is displaying a character counter along the input element. This could be achieved by utilizing [adornments](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/textbox/adornments) to display the counter and the [maxlength](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/textboxcomponent#maxlength) property, which will restrict the user input up to the specified length.

The following example, demonstrates this approach:

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/inputs/textbox/counter/source.txt)

## Suggested Links

* [API Reference of the TextBox](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/textboxcomponent)
