# Appearance

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

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

## Options

The TextArea HtmlHelper supports the following styling methods:

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

### Size

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

```Razor HtmlHelper
@(Html.Kendo().TextArea()
    .Name("description")
    .Size(ComponentSize.Medium)
)
```

```Razor TagHelper
<kendo-textarea name="description"
                size="ComponentSize.Medium">
</kendo-textarea>
```

The option adds a class `k-input-md` to the wrapping span element `span.k-textarea`:

```html
<span class="k-textarea 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().TextArea()
    .Name("description")
    .Rounded(Rounded.Medium)
)
```

```Razor TagHelper
<kendo-textarea name="description"
                rounded="Rounded.Medium">
</kendo-textarea>
```

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

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

The `Rounded()` method 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 component.

```Razor HtmlHelper
@(Html.Kendo().TextArea()
    .Name("description")
    .FillMode(FillMode.Solid)
)
```

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

The option adds a class `k-input-solid` to the wrapping span element of the TextArea:

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

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.

### Overflow

The `Overflow()` method allows you to handle the content overflow of the TextArea. By default, it is set to `Auto`.

```Razor HtmlHelper
@(Html.Kendo().TextArea()
    .Name("description")
    .Overflow(TextAreaOverflow.Auto)
)
```

```Razor TagHelper
<kendo-textarea name="description"
                overflow="TextAreaOverflow.Auto">
</kendo-textarea>
```

The option is applied to the TextArea element through the `k-overflow-auto` class.

```html
<textarea class="k-input-inner k-overflow-auto" placeholder="..."></textarea>
```

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

* `Auto`
* `Hidden`
* `Visible`
* `Scroll`
* `Clip`

### Resize

The `Resize()` method defines how the component should be resized. The default `Resize` value is `None`.

```Razor HtmlHelper
@(Html.Kendo().TextArea()
    .Name("description")
    .Resize(TextAreaResize.None)
)
```

```Razor TagHelper
<kendo-textarea name="description"
                resize="TextAreaResize.None">
</kendo-textarea>
```

The option is applied to the wrapping span element through the `k-resize-none` class.

```html
<span class="k-textarea k-input k-resize-none">
</span>
```

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

> **Important**: The `Auto` option can be used only with the `MaxRow()` configuration.

* `Auto`
* `Both`
* `Horizontal`
* `Vertical`
* `None`

## 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 TextArea HtmlHelper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/textarea/appearance)
* [Server-Side API](https://www.telerik.com/aspnet-core-ui/documentation/api/textarea)
