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