İçeriğe geç
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.

Önizleme örnek verilerle çalışır. Ağa da kanala da ihtiyaç duymaz.

Kurulum

Bunu bir shadcn projesinde çalıştırın. Dosyalar kendi kodunuzun içine kopyalanır.

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

Kullanım

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

<YuvaChatThread chat={chat} />

Prop'lar

YuvaChatThreadProps

PropTür
chatYuvaChatState
labels?Partial<YuvaChatLabels>
locale?string
greeting?string
lined?boolean
className?string

Etiketler

Etiketler Yuva chat sayfasında listelenir.

Bağımlılıklar

Bu öğeyi kurmak aşağıdakileri de ekler.

shadcn/ui bileşenleri

Diğer Yuva öğeleri

npm paketleri