Back to Library
Minimal Login

Minimal Login

by Luiz Mello

@luizmellodev
loginbuttonui

Description

A minimal login screen with a beautiful gradient background and a beautiful button

SwiftUI Code

struct MinimalLoginView: View, ViewTemplate {
    let id = "minimal_login"
    let name = "Minimal Login"
    
    var view: AnyView {
        AnyView(self)
    }
    
  @State private var email: String = ""
  @State private var password: String = ""
  
  var body: some View {
      VStack(spacing: 32) {
          // Logo and header
          VStack(spacing: 8) {
              Circle()
                  .fill(Color.blue.opacity(0.1))
                  .frame(width: 80, height: 80)
                  .overlay(
                      Circle()

// ... (click "Show full code" to see more)