# MaskedTextBox Appearance

The MaskedTextBox provides predefined appearance options such as different sizes, border radiuses and fill modes.

> Since [version 22.1.0](https://www.telerik.com/kendo-angular-ui/components/changelogs/kendo-angular-ui#v22.1.0), default values of the appearance properties are no longer hardcoded in the component. The default values are inherited from the Kendo theme.
>
> For more information, refer to the [Design System documentation](https://www.telerik.com/design-system).

The following example demonstrates all available appearance options of the MaskedTextBox in action.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/inputs/maskedtextbox/appearance-all-options/source.txt)

## Size

The MaskedTextBox allows you to set different padding on the internal `<input>` element. To achieve this utilize the [`size`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/maskedtextboxcomponent#size) property. It accepts values of type [`InputSize`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/inputsize).

The [`size`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/maskedtextboxcomponent#size) option supports the following values:

* `small`
* `medium`
* `large`

The following example demonstrates how to define the size of the MaskedTextBox.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/inputs/maskedtextbox/masked-size/source.txt)

## Roundness

The MaskedTextBox enables you to apply different border radius to the component through the [`rounded`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/maskedtextboxcomponent#rounded) property. It accepts values of type [`InputRounded`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/inputrounded).

The [`rounded`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/maskedtextboxcomponent#rounded) option supports the following values:

* `small`
* `medium`
* `large`
* `full`
* `none`

The following example demonstrates how to define the border radius of the MaskedTextBox.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/inputs/maskedtextbox/masked-rounded/source.txt)

## Fill Mode

The MaskedTextBox allows you to set different fill modes by using [`fillMode`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/maskedtextboxcomponent#fillMode) property. It accepts values of type [`InputFillMode`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/inputfillmode).

The [`fillMode`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/maskedtextboxcomponent#fillMode) option supports the following values:

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

The following example demonstrates how to define the fill mode of the MaskedTextBox.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/inputs/maskedtextbox/masked-fillmode/source.txt)

## Suggested Links

* [API Reference of the MaskedTextBox](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/maskedtextboxcomponent)
* [Creating Custom Styles with ThemeBuilder](https://www.telerik.com/kendo-angular-ui-develop/components/styling/theme-builder)
