Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA messaging screen made of glass: incoming bubbles refract the blurred photo wallpaper at their edges, outgoing bubbles are tinted accent glass, and a floating glass header and composer sit over the conversation. Sending a message makes the new bubble fly out of the input field into place on springs, the receipt changes from Delivered to Read, and an optional auto reply shows a bouncing typing indicator before answering. Long press, right click or Enter on any bubble dims and blurs the chat, lifts the bubble and springs in a reaction bar and an action menu (reply, copy, delete); reactions pop onto the bubble corner. Photos can be attached, the log is announced politely to screen readers, Escape closes the menu and reduced motion removes the flights and bounces.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { ChatBubblesGlass } from "@/components/hyperblur-pro/chat-bubbles-glass"
<ChatBubblesGlass />
<ChatBubblesGlass autoReply={false} accent="#34c759" onSend={(m) => api.send(m)} />| Prop | Type | Default | Description |
|---|---|---|---|
| contactName / contactAvatar | string | "Theo Marlow" / Unsplash portrait | Contact shown in the glass header. |
| messages | ChatMessage[] | 6 sample messages | Initial conversation with id, from (me or them), text or image, time and optional reaction. |
| replies | string[] | 4 sample replies | Answers cycled by the auto reply. |
| photos | string[] | 3 Unsplash photos | Photos used by the attach button. |
| reactions | string[] | ["❤️", "😂", "😮", "😢", "👍", "🔥"] | Emoji offered in the reaction bar. |
| accent | string | "#2f7bff" | Outgoing bubble, send button and focus color. |
| appearance | "light" | "dark" | "auto" | "dark" | Tint of incoming bubbles, header and composer. |
| wallpaper / backdrop | string | Unsplash lake photo | Chat wallpaper and the photo behind the handset frame. |
| autoReply | boolean | true | Simulate a typing indicator and a reply after you send. |
| frame | boolean | true | Show the screen inside a drawn handset frame. Set false to fill the parent. |
| onSend / onReact | callbacks | undefined | Called with the new message, or with the message id and emoji. |
Source code is included in Pro and above