انتقل إلى المحتوى
Yuva chat threadالقائمة

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.

تعمل المعاينة ببيانات تجريبية. لا تحتاج إلى شبكة ولا إلى قناة.

التثبيت

شغّل هذا في مشروع shadcn. تُنسخ الملفات إلى شيفرتك.

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

الاستخدام

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

<YuvaChatThread chat={chat} />

Props

YuvaChatThreadProps

Propالنوع
chatYuvaChatState
labels?Partial<YuvaChatLabels>
locale?string
greeting?string
lined?boolean
className?string

التسميات

التسميات مدرجة في صفحة Yuva chat.

الاعتماديات

يضيف تثبيت هذا العنصر أيضًا ما يلي.

مكوّنات من shadcn/ui

عناصر Yuva الأخرى

حزم npm