Item Chat
Buyer and seller chat about one listing, with offers sent as cards in the thread. Accepting stamps the card, updates the pinned price to the agreed figure, then brings up Buy now.
About the Item Chat screen
Peer-to-peer marketplace screens: listings, search, offers, item chat, seller profiles and checkout. This is one of 10 marketplace screens.
How it behaves
It responds to taps, scrolling and swipes. On a phone you feel a light tap on buttons, a firmer tap on bigger actions and a success pulse when the task completes.
- Keeps fields and actions above the on-screen keyboard.
- The header reacts to scrolling instead of sitting on top of the content.
- Respects Reduce Motion: movement drops out and the feedback stays.
Make it yours
npx @lumioui/cli add pro/marketplace-item-chat copies the screen into screens/marketplace/item-chat.tsx along with the 10 components it uses, so the source is yours to edit.
It's shown here in the teal accent: wrap it in a different <Accent> to recolour every button, highlight and chart at once. It follows light and dark mode, and runs on iOS and Android in a development build.
Built from
- AvatarCircular profile image with fallback initials and a presence dot. An optional mode shows presence on the photo itself, bright when online and faded when away or offline.
- ButtonPill button that presses down under your finger, in eight styles from solid to glass, with a built-in loading state that swaps in place while an action runs.
- GlassGlass surface for cards and controls: system glass on newer iOS, real refraction on the web and a frosted look elsewhere. Light can gather under your finger, and panes merge on newer iOS and the web.
- IconIcon set drawn on one consistent grid, sized and coloured from your theme. The heart, star and bookmark can fill in place inside their outline, then fade back out.
- Keyboard AvoidingContainer that lifts your content above the on-screen keyboard on iOS, so fields and message bars never end up hidden behind it. On Android it leaves this to the system’s own resizing.
- LightboxPhoto gallery where any tapped photo grows out of its exact tile into a full-screen viewer, then flies back into the tile of whichever photo is showing when you let it go.
- Message BubbleChat bubbles in six styles with grouping, swipe-to-reply and long-press actions. Drag the thread to reveal times, hold a message to react, and watch read ticks update in place.
- Quick RepliesSuggested reply chips that sit above a message composer. Tapping one lights it and can fly it into the conversation as your message, while the other suggestions fade away.
- TextThemed type scale from caption to display that follows light and dark mode. Includes a pull-quote style with an accent rule and a quieter dimmed tone for secondary text.
- Typing IndicatorChat typing indicator with three dots that brighten in turn. When the reply arrives, the bubble grows to fit it and the words appear in reading order.