Siirry sisältöön
Yuva chat threadValikko

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.

Esikatselu käyttää esimerkkitietoja. Se ei tarvitse verkkoa eikä kanavaa.

Asennus

Suorita tämä shadcn-projektissa. Tiedostot kopioidaan omaan koodiisi.

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

Käyttö

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

<YuvaChatThread chat={chat} />

Props

YuvaChatThreadProps

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

Tekstit

Tekstit on lueteltu sivulla Yuva chat.

Riippuvuudet

Tämän kohteen asentaminen lisää myös seuraavat.

shadcn/ui-komponentit

Muut Yuva-kohteet

npm-paketit