Team Chat
Team chat with channels, direct messages and threads.
Installation
pnpm dlx shadcn@latest add @paneui/team-chatUsage
Composition
Data
Everything comes from parts/data.ts. Pass your own list to TeamChatApp initial={…}, or swap the useState in team-chat.tsx for your store. Times are minutes since midnight so the seed needs no dates.
Message text
@Name renders as a mention, backticks as inline code and **text** as bold. The composer's Bold and Code buttons wrap the selection.
Phones
Below md the channel list folds into the rail and closes after you pick a conversation, and a thread covers the conversation instead of sitting beside it.