Packages
@fluxy-chat/ui
React UI components for FluxyChat — shadcn-style chat primitives built on Radix UI and Tailwind.
Pair with @fluxy-chat/react for realtime state and @fluxy-chat/sdk for the client.
Install
pnpm add @fluxy-chat/ui @fluxy-chat/react @fluxy-chat/sdkPeer dependencies: react (18+), Tailwind CSS in your app, and the Radix/lucide peers listed in package.json.
Quick start
import { ChatWindow, MessageList, MessageInput } from "@fluxy-chat/ui";
import { useChat } from "@fluxy-chat/react";
function Room({ roomId }: { roomId: string }) {
const { messages, sendMessage } = useChat({ roomId });
return (
<ChatWindow>
<MessageList messages={messages} />
<MessageInput onSend={(text) => sendMessage(text)} />
</ChatWindow>
);
}Exports
High-level
ChatWindow,MessageList,MessageItem,MessageInputChannelList,PresenceList,TypingUsersIndicatorAgentMessage,AgentTypingIndicatorComposerToolsMenu, composer prompt helpers
Primitives (custom layouts)
Message,Bubble,Composer,AttachmentMessageScroller(virtualized scroll helpers)ReactionPicker,TypingIndicator,MarkerButton,cnutility
Styling
Components use Tailwind utility classes and expect your app to provide design tokens (CSS variables or Tailwind theme). They do not ship a global stylesheet — import your Tailwind setup as usual.
License
MIT