Arihant jain

Voice Input

Component 1

About

A pill-shaped voice recorder control with animated audio level bars and a live recording timer, for capturing spoken input in chat or AI assistant UIs.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Voice Input to your project and fits it to your theme.

Code

How Voice Input is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { VoiceInput } from "@/components/ui/voice-input";

export default function VoiceInputDemo() {
  return (
    <div className="flex min-h-[300px] w-full items-center justify-center">
      <VoiceInput />
    </div>
  );
}

Dependencies

More by Arihant jain

View all
  • Footer section

    Footer section

    1.9K
  • Multistep Form

    Multistep Form

    700
  • Animated Drawer

    Animated Drawer

    687
  • Status Badge

    Status Badge

    498
  • Stacked Circular Footer

    Stacked Circular Footer

    414
  • Input Modal

    Input Modal

    316
  • Large Name Footer

    Large Name Footer

    194
  • Profile Dropdown

    Profile Dropdown

    189

Explore more

Part of Spectrum UI — browse the full library on 21st.dev.