Ugrás a tartalomra
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.

Az előnézet mintaadatokon fut. Nem kell hozzá hálózat vagy csatorna.

Telepítés

Futtasd ezt egy shadcn-projektben. A fájlok a saját kódodba másolódnak.

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

Használat

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

<YuvaChatThread chat={chat} />

Props

YuvaChatThreadProps

PropTípus
chatYuvaChatState
labels?Partial<YuvaChatLabels>
locale?string
greeting?string
lined?boolean
className?string

Címkék

A címkék a(z) Yuva chat oldalon vannak felsorolva.

Függőségek

Az elem telepítése a következőket is hozzáadja.

A shadcn/ui komponensei

További Yuva-elemek

npm-csomagok