Skip to content

Your app looks AI-generated. Vincent Van Gogh noticed. An agent skill that finds and fixes AI-looking UI and UX in mobile apps, web apps, and websites.

1.2 KB
Raw Blame
import SwiftUI

struct Dashboard: View {
    let rows: [Row]
    var body: some View {
        ScrollView {
            VStack {
                Text("NEW").textCase(.uppercase).tracking(2)
                Text("Dashboard").foregroundStyle(LinearGradient(colors: [.purple, .pink], startPoint: .leading, endPoint: .trailing))
                ForEach(rows) { row in
                    HStack {
                        Circle().fill(.green).frame(width: 8, height: 8)
                        Text(row.title).font(.system(size: 15))
                    }
                }
                Button("Submit") { save() }
            }
        }
        .background(LinearGradient(colors: [.purple, .indigo], startPoint: .top, endPoint: .bottom))
        .shadow(color: .purple, radius: 20)
        .navigationBarBackButtonHidden(true)
        .toolbar { Image(systemName: "line.3.horizontal") }
        .ignoresSafeArea()
        .ignoresSafeArea(.all)
        .ignoresSafeArea(.container, edges: .all)
        .overlay { Text("A").background(.ultraThinMaterial) }
        .safeAreaInset(edge: .top) { Text("B").background(.thinMaterial) }
        .toolbarBackground(.regularMaterial)
    }
}