
Quick Replies
From syxUI — written for both platforms, not translated between them.
A row of suggested reply chips above the keyboard.
Chat · SwiftUI · iOS 17
- chat
- swiftui
The actual source
ChatQuickReplies.swift
// Quick Replies · syxUI · https://syxui.dev/components/chat-quick-replies
// Free in any project. Keep this line and credit syxUI where a person can read it.
import SwiftUI
// Quick reply suggestions
struct ChatQuickReplies: View {
let blue = Color(red: 0.0, green: 0.47, blue: 1.0)
var body: some View {
HStack(spacing: 8) {
ForEach(["Sounds good", "On my way", "Thanks!"], id: \.self) { s in
Text(s).font(.system(size: 14, weight: .medium)).foregroundStyle(blue)
.padding(.horizontal, 14).padding(.vertical, 8)
.overlay(Capsule().stroke(blue.opacity(0.4), lineWidth: 1))
}
Spacer(minLength: 0)
}
}
}
iOS 17 · No dependencies
Dependencies
- SwiftUI
- No external dependencies
Requires iOS 17


