
Group Message
From syxUI — written for both platforms, not translated between them.
A group-chat message with the sender's avatar and name above the bubble.
Chat · SwiftUI · iOS 17
- chat
- swiftui
The actual source
ChatGroupMessage.swift
// Group Message · syxUI · https://syxui.dev/components/chat-group
// Free in any project. Keep this line and credit syxUI where a person can read it.
import SwiftUI
// Group message - avatar + sender name + bubble
struct ChatGroupMessage: View {
var body: some View {
HStack(alignment: .bottom, spacing: 8) {
Image("person_3").resizable().scaledToFill().frame(width: 30, height: 30).clipShape(Circle())
VStack(alignment: .leading, spacing: 3) {
Text("Mia Chen").font(.system(size: 12, weight: .semibold)).foregroundStyle(.secondary).padding(.leading, 4)
Text("Just pushed the new build, take a look")
.font(.system(size: 16)).foregroundStyle(.primary)
.padding(.horizontal, 14).padding(.vertical, 10)
.background(Color(.systemGray5), in: RoundedRectangle(cornerRadius: 20, style: .continuous))
}
Spacer(minLength: 32)
}
}
}
iOS 17 · 1 dependencies
Dependencies
- SwiftUI
- person_3 (image asset)
Requires iOS 17


