# SpeechToTextButton Appearance

The [SpeechToTextButton](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/speechtotextbutton) provides predefined appearance options such as different sizes, border radii, fill modes, and theme colors. If you omit an appearance property, the active Kendo theme supplies its default value.

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

* [Size](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/speechtotextbutton/appearance#size)
* [Roundness](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/speechtotextbutton/appearance#roundness)
* [Fill Mode](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/speechtotextbutton/appearance#fill-mode)
* [Theme Color](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/speechtotextbutton/appearance#theme-color)
* [Custom Styling](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/speechtotextbutton/appearance#custom-styling)
* [Active State Styling](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/speechtotextbutton/appearance#active-state-styling)

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

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

> Starting with [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).

## Size

The Kendo UI for Angular SpeechToTextButton enables you to configure its size by using the [`size`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/speechtotextbuttoncomponent#size) property, which accepts [`ButtonSize`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/buttonsize) values.

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

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

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

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/buttons/speechtotextbutton/appearance/size/source.txt)

## Roundness

The SpeechToTextButton lets you apply different roundness to the component through its [`rounded`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/speechtotextbuttoncomponent#rounded) property, which accepts [`ButtonRounded`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/buttonrounded) values.

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

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

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

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/buttons/speechtotextbutton/appearance/rounded/source.txt)

## Fill Mode

The SpeechToTextButton allows you to set different fill modes by using its [`fillMode`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/speechtotextbuttoncomponent#fillMode) property, which accepts [`ButtonFillMode`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/buttonfillmode) values.

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

* `solid`
* `flat`
* `outline`
* `clear`
* `link`

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

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/buttons/speechtotextbutton/appearance/fillmode/source.txt)

## Theme Color

The SpeechToTextButton allows you to set different theme colors with its [`themeColor`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/speechtotextbuttoncomponent#themeColor) property, which accepts [`ButtonThemeColor`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/buttonthemecolor) values.

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

* `base`
* `primary`
* `secondary`
* `tertiary`
* `info`
* `success`
* `warning`
* `error`
* `inverse`

The following example demonstrates how to define the theme color of the SpeechToTextButton.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/buttons/speechtotextbutton/appearance/themecolor/source.txt)

## Custom Styling

The SpeechToTextButton applies to a standard `button` element, so you can style it with the `style` attribute and CSS classes.

The following example demonstrates how to apply an inline style and a custom CSS class to the SpeechToTextButton.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/buttons/speechtotextbutton/appearance/custom-styling/source.txt)

## Active State Styling

While speech recognition is active, the SpeechToTextButton adds the `k-listening` class and displays a stop icon. Target the class to style the active state.

The following example animates the SpeechToTextButton while speech recognition is active.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/buttons/speechtotextbutton/appearance/active-state/source.txt)

## Suggested Links

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