For products where the chat is a guest rather than the page: a panel docked to the right, opened from a button in your own header, with a menu of past conversations, rename and delete on the open one, and a way out from inside. It holds its open state itself rather than borrowing a SidebarProvider, so the sidebar your app already has keeps its trigger, its shortcut and its collapse. It brings a whole working chat with it, so what your app supplies is the page it sits beside.
Files · 8
Dependencies
npm packages
@shadcn/helpers
Registry items
alert-dialog
avatar
breadcrumb
button
collapsible
dropdown-menu
kbd
separator
sheet
sidebar
tooltip
use-mobile
@shadcncraft/chat-1
Registry Items
assistant-panel-1
Configuration
Name
assistant-panel-1
Type
Block
Description
For products where the chat is a guest rather than the page: a panel docked to the right, opened from a button in your own header, with a menu of past conversations, rename and delete on the open one, and a way out from inside. It holds its open state itself rather than borrowing a SidebarProvider, so the sidebar your app already has keeps its trigger, its shortcut and its collapse. It brings a whole working chat with it, so what your app supplies is the page it sits beside.