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.
AIMCP Server and Agent Skills included
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.
Trusted by the world’s leading companies
Now easier with AI
Coding assistants write the Speech to Text setup from the current docs instead of guessing.
01For developers
The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Speech to Text docs and recommended patterns.
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
The React Speech to Text component follows WAI-ARIA practices, with keyboard access and screen reader support.
Features in depth
Open a demo to try each one, or the docs to see the API.
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.
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.
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.
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.
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
With an AI coding assistant
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)} />
</>
);
}
Works withReact 15.5.4 or laterTypeScript and JavaScriptNext.jsRemixGatsbyVitePreactSystem requirements
Customer reviews
“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.
“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.
Customer story · Igniatek
“I would definitely recommend Syncfusion for anyone who is trying to develop something meaningful.”
Somnath Maji, Founder, Igniatek Consultancy
Including the 2026 Devies Award, Capterra Shortlist 2026, Software Advice FrontRunners 2026, and G2 Best Software 2025.
Complete feature list
Showing all 20 features. Each one opens its demo or documentation.
No feature matches that search. Try another word, or open the Speech to Text demos.
Use it with:React AI AssistViewReact Chat UIReact TextArea
Questions and answers
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
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
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
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
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
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
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
Handle onError. It reports errors such as no speech, no microphone, denied permission, network problems, and an unsupported browser. Read about events
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
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
Yes. It follows WCAG 2.2, Enter and Space toggle listening, and an ARIA label names the button for screen readers. Read about accessibility
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
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
Resources
Speech to Text for other frameworks:AngularBlazorJavaScriptVue
More React components:AI AssistViewChat UITextAreaAll 140+ React components
Syncfusion React Speech to Text
The full Speech to Text, the MCP server, and Agent Skills, free for 30 days.