# Appearance

The MaskedTextBox provides a predefined set of appearance options.

Apart from the default vision of the MaskedTextBox, these alternative styling options enable you to configure each individual aspect of the appearance of a MaskedTextBox.

* [Size](https://www.telerik.com/kendo-react-ui/components/inputs/maskedtextbox/appearance#size)
* [Fill Mode](https://www.telerik.com/kendo-react-ui/components/inputs/maskedtextbox/appearance#fill-mode)
* [Border Radius](https://www.telerik.com/kendo-react-ui/components/inputs/maskedtextbox/appearance#border-radius)

The following example demonstrates all the available appearance options of the MaskedTextBox in a single, configurable demo.

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

## Size

The KendoReact MaskedTextBox enables you to configure its [`size`](https://www.telerik.com/kendo-react-ui/components/inputs/api/maskedtextboxprops#size).

* `small`
* `medium` (Default)
* `large`

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

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

## Fill Mode

The MaskedTextBox supports the following [`fillMode`](https://www.telerik.com/kendo-react-ui/components/inputs/api/maskedtextboxprops#fillmode) options:

* `solid` (Default)
* `outline`
* `flat`

The following example demonstrates how to set the fillMode of the MaskedTextBox.

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

## Border Radius

The MaskedTextBox enables you to apply different `border radius` to the component through the [`rounded`](https://www.telerik.com/kendo-react-ui/components/inputs/api/maskedtextboxprops#rounded) property.

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

* `small`
* `medium` (Default)
* `large`
* `full`
* `none` - Does not set a `className` for size

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

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

## Adornments

You can also render custom React Components like the Icon and Button by configuring the `prefix` and `suffix` props of the MaskedTextBox component and then implement custom functionality on top of them.

> For correct styling, wrap custom adornments in [`InputPrefix`](https://www.telerik.com/kendo-react-ui/components/inputs/api/inputprefix) and [`InputSuffix`](https://www.telerik.com/kendo-react-ui/components/inputs/api/inputsuffix) containers.

[Demo Source](https://demos.telerik.com/kendo-react-ui/inputs/maskedtextbox/appearance/adornments/func/source.txt)

## Suggested Links

* [API Reference of the MaskedTextBox](https://www.telerik.com/kendo-react-ui/components/inputs/api/maskedtextboxprops)
* [MaskedTextBox `prefix` options](https://www.telerik.com/kendo-react-ui/components/inputs/api/maskedtextboxprops#prefix)
* [MaskedTextBox `suffix` options](https://www.telerik.com/kendo-react-ui/components/inputs/api/maskedtextboxprops#suffix)
* [MaskedTextBox `size` options](https://www.telerik.com/kendo-react-ui/components/inputs/api/maskedtextboxprops#size)
* [MaskedTextBox `fillMode` options](https://www.telerik.com/kendo-react-ui/components/inputs/api/maskedtextboxprops#fillmode)
* [MaskedTextBox `rounded` options](https://www.telerik.com/kendo-react-ui/components/inputs/api/maskedtextboxprops#rounded)
* [Creating Custom Styles](https://www.telerik.com/kendo-react-ui/components/styling/theme-builder)
