AIMCP Server and Agent Skills included

React Speech to Text button, now easier to build with AI

Turn speech into text with one button, with live interim results, any recognition language, listening states, tooltips, and predefined styles. AI assistants set it up for you from the current docs.

  • 4.5/5850+ G2 reviews
  • 4.6/5950+ Capterra reviews
  • WCAG 2.2and Section 508
  • 3listening states
  • 6predefined styles

Trusted by the world’s leading companies

Syncfusion customers include Visa, Apple, McDonald’s, Netflix, Starbucks, IBM, Tesla, and Schneider Electric

Now easier with AI

Add voice input faster with AI

Coding assistants write the Speech to Text setup from the current docs instead of guessing.

01For developers

Describe voice input and get code that uses the documented API

The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Speech to Text docs and recommended patterns.

See all 20 features

AI coding assistantMCP · Syncfusion React

Put the spoken text into the notes field.

search_docs“React Speech to Text transcription into any field” · 2 doc sections

+<SpeechToTextComponent

+ transcriptChanged={(e) => setNotes(e.transcript)} />

Documented API: transcriptChanged, transcript

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Show the text only after users finish a phrase.

search_docs“React Speech to Text interim results” · 2 doc sections

+<SpeechToTextComponent allowInterimResults={false}

+ transcriptChanged={onTranscriptChanged} />

Documented API: allowInterimResults

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Recognize French speech.

search_docs“React Speech to Text recognition language” · 2 doc sections

+<SpeechToTextComponent lang="fr-FR"

+ transcriptChanged={onTranscriptChanged} />

Documented API: lang

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Show Start and Stop labels on a primary button.

search_docs“React Speech to Text button content, icons, and styles” · 2 doc sections

+<SpeechToTextComponent

+ buttonSettings={{ content: 'Start', stopContent: 'Stop',

+ iconPosition: 'Right', isPrimary: true }} />

Documented API: buttonSettings, cssClass

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Explain the microphone button in a tooltip below it.

search_docs“React Speech to Text tooltips” · 2 doc sections

+<SpeechToTextComponent

+ tooltipSettings={{ position: 'BottomRight',

+content: 'Start dictation', stopContent:

+ 'Stop dictation' }} />

Documented API: tooltipSettings, showTooltip

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Show a message when the microphone is blocked.

search_docs“React Speech to Text listening state, events, and errors” · 2 doc sections

+<SpeechToTextComponent onStart={onStart} onStop={onStop}

+ onError={(e) => setMessage(e.errorMessage)} />

Documented API: onStart, onStop, onError, listeningState

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Start dictation from my own Start dictation button.

search_docs“React Speech to Text start and stop from code” · 2 doc sections

+const stt = useRef<SpeechToTextComponent>(null);

+<button

+ onClick={() => stt.current?.startListening()}>Start

+ dictation</button>

+<button

+ onClick={() => stt.current?.stopListening()}>Stop</button>

Documented API: startListening, stopListening

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Recognize Arabic speech and lay the control out right to left.

search_docs“React Speech to Text localization and right to left” · 2 doc sections

+<SpeechToTextComponent lang="ar-AE" locale="ar-AE"

+enableRtl={true}

+ transcriptChanged={onTranscriptChanged} />

Documented API: lang, locale, enableRtl

ResultRendered in your app

Accessibility

Accessible to keyboard and screen reader users

The React Speech to Text component follows WAI-ARIA practices, with keyboard access and screen reader support.

Standards
WCAG 2.2 and Section 508
Keyboard
Enter, Space
Screen readers
aria-label
Layout
Right-to-left and mobile support
Read the accessibility docs

Features in depth

React Speech to Text features in depth

Open a demo to try each one, or the docs to see the API.

Real-time transcription

The component converts microphone input into text with the browser’s SpeechRecognition API. Handle transcriptChanged to write the text into a text area, chat, or form field.

Interim and final results

With allowInterimResults on, the default, users see words as they speak. Turn it off to receive only the final transcript of each phrase.

Listening states: inactive, listening, and stopped

The listeningState property reports Inactive, Listening, or Stopped, and the button blinks while listening. The startListening and stopListening methods control recognition from code.

Recognition language and localization

Set lang to the recognition language, such as en-US or fr-FR. Localize button labels, tooltips, and error messages with the locale property, and turn on enableRtl for right-to-left layouts.

Button content, icons, and predefined styles

Use buttonSettings for start and stop text and icons, the icon position, and a primary look. A cssClass applies the primary, outline, info, success, warning, or danger style.

Tooltips for start and stop

Tooltips appear by default when users hover the button. Use tooltipSettings to change the start and stop text and the tooltip position, or turn them off with showTooltip.

Events and error handling

The onStart, onStop, and transcriptChanged events follow each session. The onError event reports causes such as no speech, a missing microphone, denied permission, or an unsupported browser.

Voice input for chat and AI AssistView

Pair the button with Chat UI for a live, time-stamped transcript, or with AI AssistView so users speak their prompts. Both pairings have demos.

Browser support and security

Chrome, Edge, Safari, and Opera support speech recognition, and Firefox does not. Browsers may send audio to their speech service, so ask for consent and serve pages over HTTPS.

Accessible and themed

Enter and Space toggle listening, and an ARIA label names the button for screen readers. Tailwind CSS, Bootstrap, Material, and Fluent themes are built in, and Theme Studio customizes them.

Get started

Get your first speech-to-text button running, with or without AI

With an AI coding assistant

  1. Connect the Syncfusion MCP serverWorks in VS Code, Cursor, JetBrains, and other MCP-compatible assistants.Set up the MCP server
  2. Add Agent Skills to your projectYour agent follows Syncfusion’s recommended Speech to Text patterns.Install Agent Skills
  3. Describe the speech-to-text buttonCopy this prompt to start.

    Add a Syncfusion React Speech to Text button next to my notes text area that writes the spoken text into the field and shows a message if the microphone is blocked.

By hand, in three steps

1 · Install

npm install @syncfusion/ej2-react-inputs @syncfusion/ej2-tailwind3-theme --save

2 · src/App.css

@import '../node_modules/@syncfusion/ej2-tailwind3-theme/styles/speech-to-text/index.css';

3 · src/App.tsx

import { useState } from 'react';
import { SpeechToTextComponent } from '@syncfusion/ej2-react-inputs';
import './App.css';

export default function App() {
  const [notes, setNotes] = useState('');
  return (
    <>
      <textarea value={notes} readOnly />
      <SpeechToTextComponent transcriptChanged={(e) => setNotes(e.transcript)} />
    </>
  );
}
Read the getting started guide

Works withReact 15.5.4 or laterTypeScript and JavaScriptNext.jsRemixGatsbyVitePreactSystem requirements

Customer reviews

Trusted by developers and teams

G2

4.5/5

From 850+ reviews of Essential Studio®

Read the reviews on G2

“Awesome, enough said”

Easy usability, solving real-life problems, easy to implement. Most of the cases have the operators and settings possibilities you need right away.

Oliver O.Creative and Art Direction, Small Business

“A giant framework with great pricing options”

I have loved the components and options that Syncfusion has; besides, its documentation, demos, and support are excellent.

Alejandro Javier V.CEO, Small Business
75%
lower costs
50%
faster development

Customer story · Igniatek

Igniatek cuts development time 50% and costs 75% with Essential Studio®

“I would definitely recommend Syncfusion for anyone who is trying to develop something meaningful.”

Somnath Maji, Founder, Igniatek Consultancy

Award-winning

Including the 2026 Devies Award, Capterra Shortlist 2026, Software Advice FrontRunners 2026, and G2 Best Software 2025.

Recent industry awards won by Syncfusion

Complete feature list

Every speech-to-text button feature, included in the license

  • Every feature includedNo separate enterprise edition
  • Royalty-freeNo runtime or deployment fees
  • Weekly patchesPlus regular feature releases
  • Expert supportFrom Syncfusion engineers

Use it with:React AI AssistViewReact Chat UIReact TextArea

Questions and answers

React Speech to Text FAQ

What is the React Speech to Text?

The Syncfusion React Speech to Text is a button that listens to the microphone and turns speech into text. It suits dictation, voice commands, and live captions. Explore the demos

How do I add speech to text in React?

Install @syncfusion/ej2-react-inputs and @syncfusion/ej2-tailwind3-theme, import the theme CSS, and render SpeechToTextComponent. Handle transcriptChanged to use the text. Read the getting started guide

How does the component recognize speech?

It uses the browser’s SpeechRecognition API, part of the Web Speech API, so no Syncfusion service is involved. The browser decides which speech service processes the audio. Read about speech recognition

Which browsers support it?

Chrome 25 and later, Edge 79 and later, Safari 12 and later, and Opera 30 and later. Firefox does not support the SpeechRecognition API. See browser support

Can users see words while they speak?

Yes. Interim results are on by default, so text appears as users speak. Set allowInterimResults to false to show only the final transcript. Read about interim results

How do I change the recognition language?

Set lang to a language code such as en-US or fr-FR. To translate the button and error text, load translations and set locale. Read about globalization

How do I put the transcript into a text area or chat?

Handle transcriptChanged and copy e.transcript into the field. The demos send it to a Chat UI conversation and to AI AssistView prompts. Live transcription demo

How do I handle a blocked microphone or other errors?

Handle onError. It reports errors such as no speech, no microphone, denied permission, network problems, and an unsupported browser. Read about events

Can I customize the button?

Yes. The buttonSettings property sets start and stop text and icons, the icon position, and a primary look, and cssClass applies predefined styles. Read about appearance

Is the audio private?

The browser may send audio to an external speech service, depending on the browser. Ask for consent before listening and serve the page over HTTPS. Read about security

Is the React Speech to Text accessible?

Yes. It follows WCAG 2.2, Enter and Space toggle listening, and an ARIA label names the button for screen readers. Read about accessibility

Can AI coding assistants build with the React Speech to Text?

Yes. The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Speech to Text docs and recommended patterns. You need a Syncfusion API key and an active license, which can be a commercial, Community, or trial license. Set up the MCP server

Is the Syncfusion React Speech to Text free?

It is a commercial component with a 30-day free trial. A free Community License is available for companies and individuals with less than $1 million USD in annual gross revenue, five or fewer developers, and 10 or fewer total employees. Check Community License eligibility

Syncfusion React Speech to Text

Build your React voice input faster with AI

The full Speech to Text, the MCP server, and Agent Skills, free for 30 days.

  • No credit card required
  • Free Community License for eligible teams
  • No runtime or deployment fees