# Appearance

In this article, you will find information about the styling options and rendering of the Kendo UI TextArea.

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

## Options

The Kendo UI TextArea supports the following styling options:

* [`size`](https://www.telerik.com/kendo-jquery-ui/documentation/controls/textarea/appearance#size)—configures the overall size of the component.
* [`rounded`](https://www.telerik.com/kendo-jquery-ui/documentation/controls/textarea/appearance#rounded)—configures the border radius of the component.
* [`fillMode`](https://www.telerik.com/kendo-jquery-ui/documentation/controls/textarea/appearance#fillmode)—configures how the color is applied to the component.
* [`overflow`](https://www.telerik.com/kendo-jquery-ui/documentation/controls/textarea/appearance#overflow)—configures the overflow behavior of the element.
* [`resize`](https://www.telerik.com/kendo-jquery-ui/documentation/controls/textarea/appearance#resize)—configures how the resizing of the element is applied.

### Size

The `size` option controls how big or small the rendered `textarea` looks. The structure of the class is `k-input-{size}`.

The following values are available for the [`size`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/textarea/configuration/size) option:

* `sm`—small size
* `md`—medium size
* `lg`—large size
* `none`—unset

The following example demonstrates how to configure the `size` of the component through the widget configuration:

```dojo
<textarea id="description"></textarea>
<script>
$("#description").kendoTextArea({
    size: "medium"
});
</script>
```

The default size value is `medium` and it is applied to the wrapping span element through the `k-input-md` class.

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

### Rounded

The `rounded` option controls how much border radius is applied to the rendered `textarea`. The structure of the class is `k-rounded-{size}`.

The following values are available for the [`rounded`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/textarea/configuration/rounded) option:

* `sm`—small border radius
* `md`—medium border radius
* `lg`—large border radius
* `full`—largest border radius
* `none`—unset

The following example demonstrates how to configure the `rounded` of the component through the widget configuration:

```dojo
<textarea id="description"></textarea>
<script>
$("#description").kendoTextArea({
    rounded: "medium"
});
</script>
```

The default rounded value is `medium` and it is applied to the wrapping span element through the `k-rounded-md` class.

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

### FillMode

The `fillMode` option controls the way the color is applied to the rendered `textarea`. The structure of the class is `k-input-{fillMode}`.

The following values are available for the [`fillMode`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/textarea/configuration/fillmode) option:

* `solid`
* `flat`
* `outline`
* `none`

The following example demonstrates how to configure the `fillMode` of the component through the widget configuration:

```dojo
<textarea id="description"></textarea>
<script>
$("#description").kendoTextArea({
    fillMode: "solid"
});
</script>
```

The default fillMode value is `solid` and it is applied to the wrapping span element through the `k-input-solid` class.

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

### Overflow

The `overflow` option controls the overflow behavior of the rendered `textarea`. The structure of the class is `k-overflow-{overflow}`.

The following values are available for the [`overflow`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/textarea/configuration/overflow) option:

* `auto`
* `hidden`
* `visible`
* `scroll`
* `clip`
* `none`

The following example demonstrates how to configure the `overflow` of the component through the widget configuration:

```dojo
<textarea id="description"></textarea>
<script>
$("#description").kendoTextArea({
    overflow: "auto"
});
</script>
```

The default overflow value is `auto` and it is applied to the textarea element through the `k-overflow-auto` class.

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

### Resize

The `resize` option controls the resizing behavior of the rendered `textarea`. The structure of the class is `k-resize-{resize}`.

The following values are available for the [`resize`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/textarea/configuration/resize) option:

* `both`
* `horizontal`
* `vertical`
* `none`

The following example demonstrates how to configure the `resize` of the component through the widget configuration:

```dojo
<textarea id="description"></textarea>
<script>
$("#description").kendoTextArea({
    resize: "none"
});
</script>
```

The default resize value is `none` and it is applied to the wrapping span element through the `k-resize-none` class.

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

## 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/kendo-jquery-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/kendo-jquery-ui/documentation/styles-and-layout/components-rendering-overview)
* [Appearance Demo of the TextArea](https://demos.telerik.com/kendo-ui/textarea/appearance)
* [JavaScript API Reference of the TextArea](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/textarea)
