# Appearance

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

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

## Options

The Kendo UI TextBox supports the following styling options:

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

### Size

The `size` option controls how big or small the rendered `textbox` 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/textbox/configuration/size) option:

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

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-textbox k-input k-input-md">
</span>
```

### Rounded

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

* small(sm)
* medium(md)
* large(lg)
* full(full)
* none

The structure of the class is `k-rounded-{size}`.

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-textbox k-input k-rounded-md">
</span>
```

### FillMode

The `fillMode` option controls the way the color is applied to the rendered `textbox`. 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/textbox/configuration/fillmode) option:

* solid
* flat
* outline
* none

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-textbox k-input k-input-solid">
</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 TextBox](https://demos.telerik.com/kendo-ui/textbox/appearance)
* [JavaScript API Reference of the TextBox](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/textbox)
