Skip to content
Missed Call preview
Rendered from the SwiftUI source on this page.

Missed Call

From syxUI — written for both platforms, not translated between them.

A missed video / voice call row with a call-back button.

Chat · SwiftUI · iOS 17

  • chat
  • swiftui

The actual source

ChatMissedCall.swift
// Missed Call · syxUI · https://syxui.dev/components/chat-missed-call
// Free in any project. Keep this line and credit syxUI where a person can read it.

import SwiftUI

// Missed call log row
struct ChatMissedCall: View {
    let red = Color(red: 0.9, green: 0.24, blue: 0.22)
    let blue = Color(red: 0.0, green: 0.47, blue: 1.0)
    var body: some View {
        HStack(spacing: 12) {
            Image("person_1").resizable().scaledToFill().frame(width: 46, height: 46).clipShape(Circle())
            VStack(alignment: .leading, spacing: 3) {
                Text("Emma Davis").font(.system(size: 16, weight: .medium))
                HStack(spacing: 4) {
                    Image(systemName: "video.fill").font(.system(size: 11)).foregroundStyle(red)
                    Text("Missed video call · 9:41 AM").font(.system(size: 13)).foregroundStyle(red)
                }
            }
            Spacer()
            Image(systemName: "video").font(.system(size: 20)).foregroundStyle(blue)
        }
    }
}
iOS 17 · 1 dependencies

Dependencies

SwiftUI
  • person_1 (image asset)

Requires iOS 17