New to KendoReactStart a free 30-day trial

Appearance
Premium

The KendoReact SpeechToTextButton provides a variety of options to customize its appearance to match your application's design.

You can configure each individual aspect of the appearance of the SpeechToTextButton.

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

Change Theme
Theme
Loading ...

Size

The size property controls the size of the SpeechToTextButton. The available options are:

  • small—A smaller-sized button
  • medium (default)—A medium-sized button
  • large—A larger-sized button
Change Theme
Theme
Loading ...

Border Radius

The rounded property controls the corner radius of the button. The available options are:

  • small—Slightly rounded corners
  • medium (default)—Moderately rounded corners
  • large—Prominently rounded corners
  • full—Fully rounded corners (creates a circular or pill-shaped button)
Change Theme
Theme
Loading ...

Fill Mode

The fillMode property determines how the button is filled with color. The available options are:

  • solid (default)—Button with a solid background color
  • outline—Button with a colored outline and transparent background
  • flat—Button with no background or border, but colored text
  • link—Button that appears like a link but maintains button behavior
Change Theme
Theme
Loading ...

Theme Colors

The themeColor property determines the color scheme of the button. The available options are:

  • base (default)—The base theme color
  • primary—The primary theme color
  • secondary—The secondary theme color
  • tertiary—The tertiary theme color
  • info—The information theme color (typically blue)
  • success—The success theme color (typically green)
  • warning—The warning theme color (typically yellow/orange)
  • error—The error theme color (typically red)
Change Theme
Theme
Loading ...

Custom Styling

You can apply custom styles to the SpeechToTextButton using the style and className properties:

Change Theme
Theme
Loading ...

Active State Styling

When speech recognition is active, the SpeechToTextButton automatically adds the k-listening CSS class and changes its icon to a stop icon. You can use this class to apply custom styles for the active state:

Change Theme
Theme
Loading ...

See Also