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/conversation

conversation

elevenlabs/conversation
FreeComponent

shadcn/ui publishes no description for this item.

Install it

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

Source

components/ui/conversation.tsxraw.githubusercontent.com/elevenlabs/ui/main/apps/www/public/r/conversation.json
1"use client"
2
3import type { ComponentProps } from "react"
4import { useCallback } from "react"
5import { ArrowDownIcon } from "lucide-react"
6import { StickToBottom, useStickToBottomContext } from "use-stick-to-bottom"
7
8import { cn } from "@/lib/utils"
9import { Button } from "@/components/ui/button"
10
11export type ConversationProps = ComponentProps<typeof StickToBottom>
12
13export const Conversation = ({ className, ...props }: ConversationProps) => (
14 <StickToBottom
15 className={cn("relative flex-1 overflow-y-auto", className)}
16 initial="smooth"
17 resize="smooth"
18 role="log"
19 {...props}
20 />
21)
22
23export type ConversationContentProps = ComponentProps<
24 typeof StickToBottom.Content
25>
26
27export const ConversationContent = ({
28 className,
29 ...props
30}: ConversationContentProps) => (
31 <StickToBottom.Content className={cn("p-4", className)} {...props} />
32)
33
34export type ConversationEmptyStateProps = Omit<
35 ComponentProps<"div">,
36 "title"
37> & {
38 title?: React.ReactNode
39 description?: React.ReactNode
40 icon?: React.ReactNode
41}
42
43export const ConversationEmptyState = ({
44 className,
45 title = "No messages yet",
46 description = "Start a conversation to see messages here",
47 icon,
48 children,
49 ...props
50}: ConversationEmptyStateProps) => (
51 <div
52 className={cn(
53 "flex size-full flex-col items-center justify-center gap-3 p-8 text-center",
54 className
55 )}
56 {...props}
57 >
58 {children ?? (
59 <>
60 {icon && <div className="text-muted-foreground">{icon}</div>}
61 <div className="space-y-1">
62 <h3 className="text-sm font-medium">{title}</h3>
63 {description && (
64 <p className="text-muted-foreground text-sm">{description}</p>
65 )}
66 </div>
67 </>
68 )}
69 </div>
70)
71
72export type ConversationScrollButtonProps = ComponentProps<typeof Button>
73
74export const ConversationScrollButton = ({
75 className,
76 ...props
77}: ConversationScrollButtonProps) => {
78 const { isAtBottom, scrollToBottom } = useStickToBottomContext()
79
80 const handleScrollToBottom = useCallback(() => {
81 scrollToBottom()
82 }, [scrollToBottom])
83
84 return (
85 !isAtBottom && (
86 <Button
87 className={cn(
88 "bg-background dark:bg-background absolute bottom-4 left-[50%] translate-x-[-50%] rounded-full shadow-md",
89 className
90 )}
91 onClick={handleScrollToBottom}
92 size="icon"
93 type="button"
94 variant="outline"
95 {...props}
96 >
97 <ArrowDownIcon className="size-4" />
98// … truncated

What it pulls in

npm packages

  • use-stick-to-bottom

Other registry items

  • button

Files it writes

  • registry/elevenlabs-ui/ui/conversation.tsx

Facts

Registry
shadcn/ui
Type
registry:ui
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
audio-playeraudio-playershadcn/uiComponentsFree2 deps
bar-visualizerbar-visualizershadcn/uiComponentsFreeno deps
conversation-barconversation-barshadcn/uiComponentsFree1 dep
live-waveformlive-waveformshadcn/uiComponentsFreeno deps
matrixmatrixshadcn/uiComponentsFreeno deps
messagemessageshadcn/uiComponentsFree1 dep
mic-selectormic-selectorshadcn/uiComponentsFreeno deps
orborbshadcn/uiComponentsFree4 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