response
elevenlabs/responseFreeComponent
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/response.jsonSource
1"use client"23import { memo, type ComponentProps } from "react"4import { Streamdown } from "streamdown"56import { cn } from "@/lib/utils"78type ResponseProps = ComponentProps<typeof Streamdown>910export const Response = memo(11 ({ className, ...props }: ResponseProps) => (12 <Streamdown13 className={cn(14 "size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",15 className16 )}17 {...props}18 />19 ),20 (prevProps, nextProps) => prevProps.children === nextProps.children21)2223Response.displayName = "Response"
What it pulls in
npm packages
Files it writes
More from shadcn/ui
All 50 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| audio-playeraudio-player | shadcn/ui | Components | Free | 2 deps | |
| bar-visualizerbar-visualizer | shadcn/ui | Components | Free | no deps | |
| conversationconversation | shadcn/ui | Components | Free | 1 dep | |
| conversation-barconversation-bar | shadcn/ui | Components | Free | 1 dep | |
| live-waveformlive-waveform | shadcn/ui | Components | Free | no deps | |
| matrixmatrix | shadcn/ui | Components | Free | no deps | |
| messagemessage | shadcn/ui | Components | Free | 1 dep | |
| mic-selectormic-selector | shadcn/ui | Components | Free | no deps |
