# Items

In this article, you will find information about different ways to configure the Telerik UI for ASP.NET MVC OTPInput items.

The option accepts either an:

* Numerical value
* Action delegate

The below example demonstrates how to configure the items by passing a number.

```Razor HtmlHelper
    @(Html.Kendo().OTPInput()
        .Name("otp")
        .Items(5)
    )
```

The next example shows how to configure the items by passing an Action delegate.

```Razor HtmlHelper
    @(Html.Kendo().OTPInput()
        .Name("otp")
        .Items(items => {
            items.Add().GroupLength(3);
            items.Add().GroupLength(2);
            items.Add().GroupLength(3);
        })
    )
```

## See Also

* [Server-Side API of the OTPInput HtmlHelper](https://www.telerik.com/aspnet-mvc/documentation/api/otpinput)

* [Client-Side API of the OTPInput](https://docs.telerik.com/kendo-ui/api/ui/otpinput)
