Vai al contenuto
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.

L'anteprima usa dati di esempio. Non richiede rete né canale.

Installazione

Esegui questo in un progetto shadcn. I file vengono copiati nel tuo codice.

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

Utilizzo

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

Etichette

Le etichette sono elencate in Yuva chat.

Dipendenze

Installare questo elemento aggiunge anche quanto segue.

Componenti di shadcn/ui

Altri elementi Yuva

Pacchetti npm