# Appearance

In this article, you will find information about the styling options and rendering of the Telerik UI for ASP.NET Core NumericTextBox.

For a live example, visit the [Appearance Demo of the NumericTextBox](https://demos.telerik.com/aspnet-core/numerictextbox/appearance).

## Options

The NumericTextBox HtmlHelper supports the following styling options:

* [`Size()`](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/editors/numerictextbox/appearance#size)—configures the overall size of the component.
* [`FillMode()`](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/editors/numerictextbox/appearance#fillmode)—configures how the color is applied to the component.
* [`Rounded()`](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/editors/numerictextbox/appearance#rounded)—configures the border radius of the component.

### Size

The `Size()` method allows you to adjust the size of the NumericTextBox.

```Razor HtmlHelper
@(Html.Kendo().NumericTextBox()
    .Name("numeric")
    .Size(ComponentSize.Medium)
)
```

```Razor TagHelper
<kendo-numerictextbox name="numeric"
                      size="ComponentSize.Medium">
</kendo-numerictextbox>
```

The option is applied to the wrapping span element through the `k-input-md` class.

```html
<span class="k-numerictextbox k-input k-input-md">
</span>
```

The following values are available for the `Size` option:

* `Small`
* `Medium`
* `Large`

> When not explicitly set, the applied theme controls the default size.

> The `None` value is deprecated. Use custom CSS instead.

### Rounded

You can control how much border radius is applied to the component by using the `Rounded()` method.

```Razor HtmlHelper
@(Html.Kendo().NumericTextBox()
    .Name("numeric")
    .Rounded(Rounded.Medium)
)
```

```Razor TagHelper
<kendo-numerictextbox name="numeric"
                      rounded="Rounded.Medium">
</kendo-numerictextbox>
```

The option is applied to the wrapping span element through the `k-rounded-md` class.

```html
<span class="k-numerictextbox k-input k-rounded-md">
```

The `Rounded` option supports the following values:

* `Small`
* `Medium`
* `Large`
* `Full`

> When not explicitly set, the applied theme controls the default border radius.

> The `None` value is deprecated. Use custom CSS instead.

### FillMode

The `FillMode` option controls the way the color is applied to the NumericTextBox.

```Razor HtmlHelper
@(Html.Kendo().NumericTextBox()
    .Name("numeric")
    .FillMode(FillMode.Solid)
)
```

```Razor TagHelper
<kendo-numerictextbox name="numeric"
                      fill-mode="FillMode.Solid">
</kendo-numerictextbox>
```

The option is applied to the wrapping span element through the `k-input-solid` class.

```html
<span class="k-numerictextbox k-input k-input-solid">
```

The following values are available for the `FillMode` option:

* `Solid`
* `Flat`
* `Outline`

> When not explicitly set, the applied theme controls the default fill mode.

> The `None` value is deprecated. Use custom CSS instead.

## Rendering

Starting with version R1 2022, the component has a new rendering. For additional information on the decision behind these changes, visit the [Components Rendering Overview](https://www.telerik.com/aspnet-core-ui/documentation/styles-and-layout/components-rendering-overview) article.

To review the latest rendering of the component, refer to the HTML specifications in the [Kendo UI Themes Monorepo](https://github.com/telerik/kendo-themes/tree/develop). The `tests` folder of the repository contains the rendering for all flavors of the components, providing a clear reference for how their elements are structured. The rendering information can help you customize a component's appearance and behavior by applying custom CSS or JavaScript to suit specific design or functional requirements.

## See Also

* [Components Appearance Overview](https://www.telerik.com/aspnet-core-ui/documentation/styles-and-layout/components-rendering-overview)
* [Appearance of the NumericTextBox HtmlHelper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/numerictextbox/appearance)
* [Server-Side API](https://www.telerik.com/aspnet-core-ui/documentation/api/numerictextbox)
