Primitive
UI Chat Flow
@remocn/chat-flow
From remocn
A messaging composition: an outgoing message types into the composer, the send button presses, and the bubble rises in; the other side shows a typing indicator that swaps into the reply, and reactions pop in. A pure orchestrator — every channel comes from a composed primitive's hook (Input, MessageBubble, TypingIndicator).
Install
npx shadcn@latest add @remocn/chat-flowWhen to use
- Good for
- A scene needs a messaging conversation that carries your own brand tokens instead of a real platform's chrome.
- Avoid for
- The video must read as Telegram — use `telegram-chat-flow`, which owns the tailed bubbles, in-bubble timestamps, and double-check marks.
Specs
- Length
- 360f · 12s
- Length type
- Fixed
- FPS
- 30
- Style
- social
- License
- MIT