Chat

Chat: A production-grade conversational chat component with thread history sidebar, rich message rendering, status indicators, file attachments, and auto-expanding composer. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Chat

npx motion-ui-skill add chat

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

A production-grade conversational chat component with thread history sidebar, rich message rendering, status indicators, file attachments, and auto-expanding composer.

Install

npx motion-ui-skill add chat

Dependencies

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

Usage

"use client";

import { Chat as Chat } from "@/components/blocks/chat";

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

Browse this category