logoassistant-ui
shadcn/ui

Thread

Overview

The raw message list and message composer UI.

Getting Started

Add thread

npx shadcn@latest add "https://r.assistant-ui.com/thread"

This adds a /components/assistant-ui/thread.tsx file to your project, which you can adjust as needed.

Use in your application

/app/page.tsx
import { Thread } from "@/components/assistant-ui/thread";
 
export default function Home() {
  return (
    <div className="h-full">
      <Thread />
    </div>
  );
}

On this page

Edit on Github