Перейти до вмісту
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