본문으로 건너뛰기
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 패키지