BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn/ui/voice-chat-03

voice-chat-03

elevenlabs/voice-chat-03
FreeBlock

Voice chat 3

Install it

npx shadcn@latest add https://raw.githubusercontent.com/elevenlabs/ui/main/apps/www/public/r/voice-chat-03.json

Source

blocks/voice-chat-03/page.tsxraw.githubusercontent.com/elevenlabs/ui/main/apps/www/public/r/voice-chat-03.json
1"use client"
2
3import { useState } from "react"
4import { ConversationProvider, useConversation } from "@elevenlabs/react"
5import { CheckIcon, CopyIcon } from "lucide-react"
6
7import { cn } from "@/lib/utils"
8import { Button } from "@/components/ui/button"
9import { Card, CardContent } from "@/components/ui/card"
10import {
11 Conversation,
12 ConversationContent,
13 ConversationEmptyState,
14 ConversationScrollButton,
15} from "@/components/ui/conversation"
16import { ConversationBar } from "@/components/ui/conversation-bar"
17import { Message, MessageContent } from "@/components/ui/message"
18import { Orb } from "@/components/ui/orb"
19import { Response } from "@/components/ui/response"
20import {
21 Tooltip,
22 TooltipContent,
23 TooltipProvider,
24 TooltipTrigger,
25} from "@/components/ui/tooltip"
26
27const DEFAULT_AGENT_ID = process.env.NEXT_PUBLIC_ELEVENLABS_AGENT_ID!
28
29interface ChatMessage {
30 role: "user" | "assistant"
31 content: string
32}
33
34export default function Page() {
35 return (
36 <ConversationProvider>
37 <VoiceChat03 />
38 </ConversationProvider>
39 )
40}
41
42export function VoiceChat03() {
43 const [messages, setMessages] = useState<ChatMessage[]>([])
44 const [copiedIndex, setCopiedIndex] = useState<number | null>(null)
45
46 useConversation({
47 onConnect: () => setMessages([]),
48 onDisconnect: () => setMessages([]),
49 onMessage: (message) => {
50 if (message.message) {
51 const newMessage: ChatMessage = {
52 role: message.source === "user" ? "user" : "assistant",
53 content: message.message,
54 }
55 setMessages((prev) => [...prev, newMessage])
56 }
57 },
58 })
59
60 return (
61 <div className="relative mx-auto h-[600px] w-full">
62 <Card className="flex h-full w-full flex-col gap-0 overflow-hidden">
63 <CardContent className="relative flex-1 overflow-hidden p-0">
64 <Conversation className="absolute inset-0 pb-[88px]">
65 <ConversationContent className="flex min-w-0 flex-col gap-2 p-6 pb-6">
66 {messages.length === 0 ? (
67 <ConversationEmptyState
68 icon={<Orb className="size-12" />}
69 title="Start a conversation"
70 description="Tap the phone button or type a message"
71 />
72 ) : (
73 messages.map((message, index) => {
74 return (
75 <div key={index} className="flex w-full flex-col gap-1">
76 <Message from={message.role}>
77// … truncated

What it pulls in

npm packages

  • @elevenlabs/react

Other registry items

  • https://ui.elevenlabs.io/r/conversation-bar.json
  • https://ui.elevenlabs.io/r/conversation.json
  • https://ui.elevenlabs.io/r/message.json
  • https://ui.elevenlabs.io/r/orb.json
  • https://ui.elevenlabs.io/r/response.json
  • tooltip
  • card
  • button

Files it writes

  • registry/elevenlabs-ui/blocks/voice-chat-03/page.tsx

Facts

Registry
shadcn/ui
Type
registry:block
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-08
Last confirmed
3 days ago

Go to the source

ui.elevenlabs.io elevenlabs/ui on GitHub Raw registry item This item as JSON

More from shadcn/ui

All 50 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
music-player-01music-player-01shadcn/uiBlocksFreeno deps
music-player-02music-player-02shadcn/uiBlocksFreeno deps
pong-01pong-01shadcn/uiBlocksFree1 dep · 6 files
realtime-transcriber-01realtime-transcriber-01shadcn/uiBlocksFree2 deps · 3 files
speaker-01speaker-01shadcn/uiBlocksFreeno deps · 2 files
transcriber-01transcriber-01shadcn/uiBlocksFree2 deps · 2 files
voice-chat-01voice-chat-01shadcn/uiBlocksFree1 dep
voice-chat-02voice-chat-02shadcn/uiBlocksFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex