Saltar al contenido
Yuva chat threadMenú

Yuva chat thread

One conversation: grouped messages, day separators, system events, attachments, link bubbles, typing, seen state, a top fade and a scroller that sticks to the bottom with a jump-to-latest pill showing the unread count.

Say hello
Hi, ask us anything about Acme.

La vista previa usa datos de ejemplo. No necesita red ni canal.

Instalación

Ejecuta esto en un proyecto de shadcn. Los archivos se copian a tu propio código.

Shell
npx shadcn@latest add https://useyuva.com/r/yuva-chat-thread.json

Uso

tsx
import { YuvaChatThread } from "@/components/yuva-chat-thread"

<YuvaChatThread chat={chat} />

Props

YuvaChatThreadProps

PropTipo
chatYuvaChatState
labels?Partial<YuvaChatLabels>
locale?string
greeting?string
lined?boolean
className?string

Etiquetas

Las etiquetas se enumeran en Yuva chat.

Dependencias

Instalar este elemento también añade lo siguiente.

Componentes de shadcn/ui

Otros elementos de Yuva

Paquetes de npm