Chat thread

Chat thread: A chat thread with grouped messages, reactions, read receipts, typing, and a composer with attachments. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Chat thread

npx motion-ui-skill add chat-thread

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • motion
  • react
  • tailwind-merge

Source files

Chat thread

A chat thread with grouped messages, reactions, read receipts, typing, and a composer with attachments.

Install

npx motion-ui-skill add chat-thread

Dependencies

  • clsx
  • lucide-react
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import { ChatThread as ChatThread } from "@/components/agents/chat-thread";

export function Example() {
  return (
    <div className="p-6">
      <ChatThread />
    </div>
  );
}

Browse this category