Primitiva
UI Message Bubble
@remocn/message-bubble
De remocn
A chat message bubble whose hidden/visible state is a pure function of the timeline. The renderer is a pure function of a MessageBubbleStyle (opacity, translateY, scale); useMessageBubbleTransition eases the rise-in enter. The incoming/outgoing variant resolves bubble color and alignment from the theme, and an optional reaction badge pops in on its own channel.
Instalación
npx shadcn@latest add @remocn/message-bubbleCuándo usarlo
- Ideal para
- You are hand-timing a single message landing on a beat you control, driving `style` from `useMessageBubbleTransition`.
- Evítalo en
- You want a whole scripted conversation with a composer, typing beats, and reactions — use `chat-flow`, which schedules bubbles for you.
Especificaciones
- Tipo de duración
- Según estado
- Estilo
- clean
- Licencia
- MIT