I'll create a chat UI for your video conference application that opens in a shadcn/ui Sheet component 12. This will include both group chat and 1v1 chat functionality with a clean, modern design.
This chat UI opens in a shadcn/ui Sheet component 2 and provides both group and 1v1 chat functionality. Here's what I've built:
Responsive Design:
Chat List:
Chat View:
<ChatSheet /> component to your video conference UIThe UI is fully responsive and will adapt to both desktop and mobile views. The Sheet component from shadcn/ui 2 provides a smooth sliding animation when opening and closing the chat panel.
You can customize the colors, sizes, and functionality as needed for your specific application.
I see the issue. Let me fix the navigation so you can go back to the chat list without closing the entire sheet.
I've fixed the navigation issue so you can now go back to the chat list without closing the entire sheet. Here's what I changed:
Added Back Button on Desktop View:
Fixed Navigation Logic:
onBack handler to the desktop view of the ChatView componentNow when you open any chat (group or individual), you'll see a back arrow in the top-left corner of the chat header. Clicking this will take you back to the chat list while keeping the sheet open.
This provides a consistent navigation experience across all device sizes and ensures users can easily switch between different chats without accidentally closing the entire sheet.