Assistant Panel 1 – Chat docked beside your app
- from @shadcncraft
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.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcncraft/assistant-panel-1Registry dependencies12
- alert-dialog
- avatar
- button
- collapsible
- dropdown-menu
- kbd
- separator
- sheet
- sidebar
- tooltip
- @shadcncraft/use-mobile
- @shadcncraft/chat-1
