SpeechToTextButton Appearance
The Kendo UI for Vue 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.
The following example demonstrates all the available appearance options of the SpeechToTextButton in a single, configurable demo.
Size
The Kendo UI for Vue SpeechToTextButton enables you to configure its size by using the size property.
The size option supports the following values:
xssmallmediumlarge
The following example demonstrates how to define the size of the SpeechToTextButton.
Roundness
The SpeechToTextButton lets you apply different roundness to the component through its rounded property.
The rounded option supports the following values:
smallmediumlargefullnone
The following example demonstrates how to define the border radius of the SpeechToTextButton.
Fill Mode
The SpeechToTextButton allows you to set different fill modes by using its fillMode property.
The fillMode option supports the following values:
solidflatoutlinelink
The following example demonstrates how to define the fill mode of the SpeechToTextButton.
Theme Color
The SpeechToTextButton allows you to set different theme colors with its themeColor property.
The themeColor option supports the following values:
baseprimarysecondarytertiaryinfosuccesswarningerrorinverse
The following example demonstrates how to define the theme color of the SpeechToTextButton.
Custom Styling
The SpeechToTextButton lets you apply custom styles through its style and className properties.
The following example demonstrates how to apply an inline style and a custom CSS class to the SpeechToTextButton.
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.