ThreadList
Overview
The ThreadList component lets the user switch between threads.
Sample ThreadList
This demo uses ThreadListSidebar, which includes thread-list as a dependency and provides a complete sidebar layout. For custom implementations, you can use thread-list directly.
Getting Started
Add the component
Use threadlist-sidebar for a complete sidebar layout or thread-list for custom layouts.
ThreadListSidebar
npx assistant-ui@latest add threadlist-sidebarnpx shadcn@latest add @assistant-ui/threadlist-sidebarnpx shadcn@latest add "https://r.assistant-ui.com/threadlist-sidebar"ThreadList
npx assistant-ui@latest add thread-listnpx shadcn@latest add @assistant-ui/thread-listnpx shadcn@latest add "https://r.assistant-ui.com/thread-list"