
Sent Bubble
From syxUI — written for both platforms, not translated between them.
An outgoing iMessage-blue bubble with a delivery status line.
Chat · SwiftUI · iOS 17
- chat
- swiftui
The actual source
ChatSentBubble.swift
// Sent Bubble · syxUI · https://syxui.dev/components/chat-sent
// Free in any project. Keep this line and credit syxUI where a person can read it.
import SwiftUI
// Sent message - blue bubble, right aligned, with status
struct ChatSentBubble: View {
let blue = Color(red: 0.0, green: 0.47, blue: 1.0)
var body: some View {
HStack {
Spacer(minLength: 44)
VStack(alignment: .trailing, spacing: 3) {
Text("Yes! 9am at the usual place")
.font(.system(size: 16)).foregroundStyle(.white)
.padding(.horizontal, 14).padding(.vertical, 10)
.background(blue, in: RoundedRectangle(cornerRadius: 20, style: .continuous))
Text("Delivered").font(.system(size: 11)).foregroundStyle(.secondary).padding(.trailing, 4)
}
}
}
}
iOS 17 · No dependencies
Dependencies
- SwiftUI
- No external dependencies
Requires iOS 17


