Gå til innholdet
Yuva chat threadMeny

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.

Forhåndsvisningen bruker eksempeldata. Den trenger verken nettverk eller kanal.

Installasjon

Kjør dette i et shadcn-prosjekt. Filene kopieres inn i din egen kode.

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

Bruk

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

Etiketter

Etikettene er listet opp på Yuva chat.

Avhengigheter

Når du installerer dette elementet, legges også følgende til.

Komponenter fra shadcn/ui

Andre Yuva-elementer

npm-pakker