Ir para o conteúdo
Yuva chat threadMenu

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.

A pré-visualização usa dados de exemplo. Não precisa de rede nem de canal.

Instalação

Execute isto num projeto shadcn. Os ficheiros são copiados para o seu próprio 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

Rótulos

Os rótulos estão listados em Yuva chat.

Dependências

Instalar este item também adiciona o seguinte.

Componentes do shadcn/ui

Outros itens do Yuva

Pacotes npm