🎤 React Voice Search

The most comprehensive React voice search component with real-time audio visualization

214+ Weekly Downloads
5KB Gzipped Size
100% TypeScript

🚀 Try Live Demo

Click the microphone icon and start speaking to see React Voice Search in action!

🎙️

Demo will be loaded here with the actual React component

Note: Requires microphone permissions and a supported browser

🎙️ Real-time Voice Recognition

Powered by Web Speech API with instant feedback and high accuracy speech-to-text conversion.

📊 Audio Visualization

Beautiful waveform animations that respond to voice input in real-time for enhanced user experience.

🌐 Cross-Browser Support

Works seamlessly on Chrome, Safari, Edge, and mobile browsers with automatic fallback handling.

⚡ Next.js Ready

Server-Side Rendering (SSR) compatible out of the box with proper hydration handling.

🛡️ TypeScript Support

Built with TypeScript for better developer experience with full type definitions included.

📱 Mobile Optimized

Android and iOS device detection with custom animations optimized for touch interfaces.

📦 Quick Installation

Get started with React Voice Search in seconds:

# Using npm
npm install react-voice-search

# Using yarn  
yarn add react-voice-search

# Using pnpm
pnpm add react-voice-search

Basic Usage:

import React from "react";
import VoiceSearch from "react-voice-search";

function App() {
  const handleSearch = (transcript) => {
    console.log("User said:", transcript);
  };

  return (
    <VoiceSearch 
      handleSearch={handleSearch}
      placeholder="Click mic and speak..."
    />
  );
}