Passer au contenu
Yuva chat threadMenu

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.

L'aperçu utilise des données d'exemple. Il n'a besoin ni de réseau ni de canal.

Installation

Exécutez ceci dans un projet shadcn. Les fichiers sont copiés dans votre propre code.

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

Utilisation

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

<YuvaChatThread chat={chat} />

Props

YuvaChatThreadProps

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

Libellés

Les libellés sont listés sur Yuva chat.

Dépendances

L'installation de cet élément ajoute aussi ce qui suit.

Composants de shadcn/ui

Autres éléments Yuva

Paquets npm