# Appearance

In this article, you will find information about the styling options of the Telerik UI for ASP.NET MVC SpeechToTextButton.

For a live example, visit to the [Appearance Demo of the SpeechToTextButton component](https://demos.telerik.com/aspnet-mvc/speechtotextbutton/appearance).

## Options

The SpeechToTextButton component provides the following options for styling:

* [`Size()`](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/navigation/speechtotextbutton/appearance#size)—Configures the overall size of the component.
* [`ThemeColor()`](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/navigation/speechtotextbutton/appearance#themecolor)—Sets what color will be applied to the component.
* [`FillMode()`](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/navigation/speechtotextbutton/appearance#fillmode)—Defines how the color is applied to the SpeechToTextButton.
* [`Rounded()`](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/navigation/speechtotextbutton/appearance#rounded)—Determines the border radius of the component.
* [`Icon()` and `StopIcon()`](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/navigation/speechtotextbutton/appearance#icons)—Customize the default icons in the active and inactive states.

### Size

To control the size of the SpeechToTextButton, configure the `Size()` option with any of the following values:

* `Small`
* `Medium` (the default size)
* `Large`
* `None`

```Razor HtmlHelper
@(Html.Kendo().SpeechToTextButton()
    .Name("speechButton")
    .Size(ComponentSize.Medium)
)
```

### ThemeColor

The `ThemeColor()` configuration provides a variety of colors that can be applied to the SpeechToTextButton. The available options are:

* `Base`
* `Primary`
* `Secondary`
* `Tertiary`
* `Info`
* `Success`
* `Warning`
* `Error`
* `Inverse`

The default `ThemeColor` is `Base`.

```Razor HtmlHelper
@(Html.Kendo().SpeechToTextButton()
    .Name("speechButton")
    .ThemeColor(ThemeColor.Base)
)
```

### FillMode

The `FillMode()` method specifies how the color is applied to the component. The default SpeechToTextButton fill mode is `Solid`.

```Razor HtmlHelper
@(Html.Kendo().SpeechToTextButton()
    .Name("speechButton")
    .FillMode(ButtonFillMode.Solid)
)
```

The following options are available for the `FillMode()` configuration:

* `Solid`
* `Outline`
* `Flat`
* `Link`
* `Clear`
* `None`

### Rounded

The border radius of the SpeechToTextButton can be customized through the `Rounded()` method. The default option is `Medium`.

```Razor HtmlHelper
@(Html.Kendo().SpeechToTextButton()
    .Name("speechButton")
    .Rounded(Rounded.Medium)
)
```

The following values are available for the `Rounded()` option:

* `Small`
* `Medium`
* `Large`
* `Full`
* `None`

### Icons

The SpeechToTextButton displays different icons based on its [operational state](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/navigation/speechtotextbutton/overview#button-states). When the component is in inactive mode (ready to start recording), it displays the `microphone` icon by default. You can customize this using the `Icon()` configuration option to specify a different icon that better fits your application's design.

During active mode (while recording speech), the component automatically switches to the `stop` icon to indicate that recording is in progress and can be stopped. The `StopIcon()` option allows you to override this default behavior with a custom icon of your choice.

Select the desired icons from the comprehensive list of available <a href="https://www.telerik.com/design-system/docs/foundation/iconography/icon-list/" target="_blank">built-in icons in Telerik UI for ASP.NET MVC</a>.

```Razor HtmlHelper
@(Html.Kendo().SpeechToTextButton()
    .Name("speechButton")
    .Icon("microphone")
    .StopIcon("stop")
)
```

## See Also

* [Appearance of the SpeechToTextButton for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/speechtotextbutton/appearance)

* [Server-Side API of the SpeechToTextButton](https://www.telerik.com/aspnet-mvc/documentation/api/speechtotextbutton)

* [Client-Side API of the SpeechToTextButton](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton)
