StealThis .dev
Pages Medium

Dating — Chat Messages

A playful dating-app chat screen wrapped in a phone frame: a scrollable conversation list with avatars, unread dots and last-message previews, an active thread of gradient chat bubbles with delivery ticks and timestamps, an animated three-dot typing indicator, a fresh-match banner up top, and a rounded send bar with an emoji picker that scripts realistic auto-replies.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

A mobile-first dating chat screen presented inside a ~430px phone frame. The left rail lists conversations with gradient avatars, online rings, unread count dots and truncated last-message previews; tapping a row swaps the active thread and clears its unread badge. The header shows the matched person, their online status and quick call/video actions, with a celebratory “It’s a match!” banner sitting above the first message.

The thread renders inbound and outbound bubbles with different gradient treatments, grouped timestamps and read-receipt ticks on your own messages. Sending a message appends an outbound bubble, then shows an animated typing indicator before a contextual auto-reply drops in, keeping the illusion of a live conversation.

Everything is vanilla JS: an emoji tray toggles open and inserts characters at the caret, the input auto-grows, Enter sends while Shift+Enter adds a newline, and a small toast confirms actions. The layout collapses to a single full-width column below 520px so the list and the open chat behave like real app navigation.