MCPInstall

syncfusion-blazor-speech-to-text

Implement speech-to-text voice input in Blazor applications using Syncfusion SpeechToText component. ALWAYS use this when users need voice input, speech recognition, audio transcription, or implementing the SpeechToText component in Blazor. Trigger for Syncfusion.Blazor.Inputs, microphone input, voice-to-text conversion, language support, transcript binding, listening states, error handling, browser speech API, or any speech recognition requirements.

Installs
356
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-speech-to-text
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-blazor-speech-to-text automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Syncfusion Blazor Speech To Text

A comprehensive guide for implementing voice input and speech recognition using the Syncfusion Blazor SpeechToText component. This component captures audio from the user's microphone and converts it to text in real time.

Component Overview

The SpeechToText component provides voice input capabilities by leveraging the browser's Speech Recognition API. It automatically handles microphone access, captures audio, transcribes speech, and manages the listening lifecycle.

Key Features:

  • Real-time speech-to-text conversion
  • Multi-language support (en-US, fr-FR, de-DE, and 100+ languages)
  • Listening state management (Inactive, Listening, Stopped)
  • Interim results for real-time feedback
  • Error handling for various microphone/network issues
  • Browser compatibility detection
  • Customizable tooltips and disabled states
  • Event callbacks for lifecycle hooks

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation via NuGet package
  • Basic component setup and configuration
  • Property binding and two-way data binding
  • CSS styling and theming
  • Integration with TextArea for display
  • Minimal working example

Transcript and Language

📄 Read: references/transcript-and-language.md

  • Retrieving transcribed text with Transcript property
  • Binding transcript to input fields
  • Setting language preferences (en-US, fr-FR, etc.)
  • Supported language codes and locales
  • Real-world multi-language examples
  • Language switching patterns

Button Customization

📄 Read: references/button-customization.md

  • SpeechToTextButtonSettings configuration
  • Button text customization (start and stop states)
  • Icon CSS classes and icon positioning
  • Icon position values (Left, Right, Top, Bottom)
  • Primary button styling (IsPrimary property)
  • Dynamic button customization patterns
  • Icon library integration (Syncfusion, Font Awesome, Bootstrap)
  • Multi-language button text examples

Tooltip Configuration

📄 Read: references/tooltip-configuration.md

  • SpeechToTextTooltipSettings configuration
  • Tooltip text customization for different states
  • Tooltip positioning (12 position options available)
  • Position reference guide and best practices
  • ShowTooltip property control
  • Dynamic tooltip enabling/disabling
  • Multi-language tooltip support
  • Accessibility considerations for tooltips

Listening States

📄 Read: references/listening-states.md

  • Understanding ListeningState property
  • State values: Inactive, Listening, Stopped
  • Event handling: SpeechRecognitionStarted, SpeechRecognitionStopped
  • State-based UI updates and visual feedback
  • Waveform animations during listening
  • Status indicators and user guidance

Interim Results and Configuration

📄 Read: references/interim-results-and-options.md

  • AllowInterimResults property for real-time updates
  • Difference between interim and final results
  • ShowTooltip property and tooltip customization
  • Disabled state configuration
  • HTML attributes for custom styling
  • Control panel options and UI customization

Public Methods

📄 Read: references/methods.md

  • StartListeningAsync() - Start speech recognition
  • StopListeningAsync() - Stop speech recognition
  • Method signatures and return types
  • Exception handling patterns
  • Complete control examples with start/stop buttons
  • State management and button disabling

Error Handling and Troubleshooting

📄 Read: references/error-handling.md

  • Error types: no-speech, aborted, audio-capture, not-allowed, network, etc.
  • Error handling patterns and recovery
  • User feedback mechanisms for errors
  • Network and service availability issues
  • Microphone permission troubleshooting
  • Browser compatibility checking

Browser Support and API Limitations

📄 Read: references/browser-support.md

  • Browser compatibility matrix
  • Version requirements for Chrome, Edge, Safari, Opera
  • Unsupported browsers (Firefox)
  • Feature detection and polyfills
  • Graceful degradation for unsupported browsers

Quick Start Example

Here's a minimal example to get started with SpeechToText:

@using Syncfusion.Blazor.Inputs

<div style="display: flex; flex-direction: column; gap: 20px; align-items: center; padding: 20px;">
    <h3>Voice to Text Converter</h3>
    
    <SfSpeechToText @bind-Transcript="@transcript"></SfSpeechToText>
    
    <SfTextArea 
        RowCount="5" 
        ColumnCount="50" 
        @bind-Value="@transcript" 
        ResizeMode="Resize.None" 
        Placeholder="Transcribed text will appear here...">
    </SfTextArea>
</div>

@code {
    private string transcript = "";
}

What this does:

  1. Renders a microphone button from SpeechToText
  2. Binds the transcribed text to the transcript variable
  3. Displays the transcript in a TextArea for editing
  4. Uses two-way binding to keep both in sync

Common Patterns

Pattern 1: Real-Time Transcription Display

Display interim results as the user speaks (not just final results):

<SfSpeechToText 
    AllowInterimResults="true"
    @bind-Transcript="@transcript">
</SfSpeechToText>
<p>@transcript</p>

Pattern 2: Multi-Language Support

Allow users to switch between languages:

<select @onchange="@((ChangeEventArgs e) => selectedLanguage = e.Value.ToString())">
    <option value="en-US">English</option>
    <option value="fr-FR">French</option>
    <option value="de-DE">German</option>
</select>

<SfSpeechToText 
    Language="@selectedLanguage"
    @bind-Transcript="@transcript">
</SfSpeechToText>

@code {
    private string selectedLanguage = "en-US";
    private string transcript = "";
}

Pattern 3: Listen for State Changes

Provide visual feedback based on listening state:

<SfSpeechToText 
    ListeningState="@listeningState"
    SpeechRecognitionStarted="@OnListeningStarted"
    SpeechRecognitionStopped="@OnListeningStopped">
</SfSpeechToText>

<div style="margin-top: 15px;">
    @if (listeningState == SpeechToTextState.Listening)
    {
        <span style="color: green;">🎤 Listening...</span>
    }
    else if (listeningState == SpeechToTextState.Stopped)
    {
        <span style="color: orange;">⏸ Stopped</span>
    }
    else
    {
        <span style="color: gray;">○ Ready to listen</span>
    }
</div>

@code {
    private SpeechToTextState listeningState = SpeechToTextState.Inactive;

    private void OnListeningStarted(SpeechRecognitionStartedEventArgs args)
    {
        listeningState = args.State;
    }

    private void OnListeningStopped(SpeechRecognitionStoppedEventArgs args)
    {
        listeningState = args.State;
    }
}

Pattern 4: Error Handling

Gracefully handle errors and inform users:

<SfSpeechToText 
    SpeechRecognitionError="@OnSpeechError"
    @bind-Transcript="@transcript">
</SfSpeechToText>

@if (!string.IsNullOrEmpty(errorMessage))
{
    <div style="color: red; margin-top: 10px;">
        ⚠️ @errorMessage
    </div>
}

@code {
    private string transcript = "";
    private string errorMessage = "";

    private void OnSpeechError(SpeechRecognitionErrorEventArgs args)
    {
        errorMessage = args.Error switch
        {
            "no-speech" => "No speech detected. Please try again.",
            "audio-capture" => "No microphone found. Check your device.",
            "not-allowed" => "Microphone access denied. Check browser permissions.",
            "network" => "Network error. Check your connection.",
            _ => $"Error: {args.Error}"
        };
    }
}

Key Properties

PropertyTypeDefaultPurpose
Transcriptstring""Two-way binding for transcribed text
Languagestring"en-US"Language code for speech recognition
ListeningStateSpeechToTextStateInactiveCurrent state (Inactive, Listening, Stopped)
AllowInterimResultsbooltrueShow interim results while speaking
ShowTooltipbooltrueDisplay tooltip on hover
DisabledboolfalseDisable the component
HtmlAttributesDictionary-Custom HTML attributes for button

Common Use Cases

  1. Voice Search: Add voice input to a search box for hands-free searching
  2. Form Filling: Populate form fields using voice input instead of typing
  3. Notes Application: Capture voice notes and convert to text
  4. Accessibility: Enable voice input for users with typing limitations
  5. Multilingual Chat: Support speech input in multiple languages for chat applications
  6. Dictation Feature: Create a dictation tool for long-form text entry
  7. Customer Support: Record and transcribe customer feedback or support calls
  8. Accessibility Compliance: Meet WCAG requirements for voice-enabled interfaces

Next Steps

  • Start with Getting Started reference for installation
  • Explore Transcript and Language for basic usage
  • Check Browser Support to ensure compatibility
  • Review Error Handling for production-ready implementation

FAQ

What does the syncfusion-blazor-speech-to-text skill do?

Implement speech-to-text voice input in Blazor applications using Syncfusion SpeechToText component. ALWAYS use this when users need voice input, speech recognition, audio transcription, or implementing the SpeechToText component in Blazor. Trigger for Syncfusion.Blazor.Inputs, microphone input, voice-to-text conversion, language support, transcript binding, listening states, error handling, browser speech API, or any speech recognition requirements.

How do I install syncfusion-blazor-speech-to-text?

Run npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-speech-to-text in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-blazor-speech-to-text/ (personal) or .claude/skills/syncfusion-blazor-speech-to-text/ (project).

Which AI agents can use syncfusion-blazor-speech-to-text?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-blazor-speech-to-text safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-blazor-speech-to-text?

It is published by syncfusion in syncfusion/blazor-ui-components-skills. It has 356 recorded installs.

More from syncfusion/blazor-ui-components-skills

View all →

syncfusion-blazor-datagrid

syncfusion/blazor-ui-components-skills

Implements the Syncfusion Blazor DataGrid (SfGrid) for efficient tabular operations such as sorting, filtering, paging, grouping, editing, aggregates, virtualization, lazy‑load grouping, and row or column spanning. Use this skill when building data‑grid workflows in Blazor Server, WebAssembly, Web App, or MAUI applications. Supports Excel/PDF export, virtual or infinite scrolling, customizable templates, and grid state persistence for consistent and optimized data‑grid behavior.

Frontend & Design442 installs

syncfusion-blazor-common

syncfusion/blazor-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design409 installs

syncfusion-blazor-dropdowns

syncfusion/blazor-ui-components-skills

Comprehensive guide for implementing Syncfusion Blazor dropdown components including AutoComplete, ComboBox, DropDown List, MultiSelect Dropdown, and ListBox. Use this when building selection interfaces, data binding, filtering, cascading dropdowns, custom templates, and accessible dropdown experiences in Blazor applications. Covers all dropdown components from Syncfusion.Blazor.DropDowns package.

Frontend & Design400 installs

syncfusion-blazor-charts

syncfusion/blazor-ui-components-skills

Implement Syncfusion Blazor Chart (SfChart) component for comprehensive data visualization. Use this when creating line charts, bar/column charts, area charts, financial charts, or statistical visualizations. This skill covers 30+ chart types including scatter plots, bubble charts, candlestick charts, and specialized charts like waterfall, histogram, and polar charts for Blazor applications.

Frontend & Design394 installs

syncfusion-blazor-popups

syncfusion/blazor-ui-components-skills

Implement modal and modeless dialogs using Syncfusion Blazor Dialog component. Use this skill when creating dialogs, popup windows, modal confirmations, custom forms, or interactive overlay windows. Covers templates, events, positioning, animations, accessibility, and advanced customization.

Frontend & Design394 installs

syncfusion-blazor-license

syncfusion/blazor-ui-components-skills

Generate, register, secure, validate, and troubleshoot Syncfusion Blazor license keys across all Blazor project types

Frontend & Design386 installs

Popular media & creative skills

View category →

hyperframes

heygen-com/hyperframes

Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs.

Media & Creative1.2M installs

media-use

heygen-com/hyperframes

Get or make any media for a HyperFrames video - music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks - with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull, or should be stylized or hidden.

Media & Creative1.1M installs

hyperframes-registry

heygen-com/hyperframes

About 450 ready-made HyperFrames blocks and components installed as editable source - transitions, overlays, titles, kinetic type, captions, charts, map overlays, 3D, camera moves. Use it before hand-building any named visual (CRT scanlines, glitch, film grain, a chart); also for hyperframes add and catalog.

Media & Creative1M installs

hyperframes-creative

heygen-com/hyperframes

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use hyperframes-animation.

Media & Creative916.5K installs

ai-video-generation

101-skills/superpowers

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

Media & Creative881.5K installs

ai-image-generation

101-skills/superpowers

Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image

Media & Creative880.3K installs