SwiftUI-Countdown-Timer Add CountdownTimerView.swift file to your project and then simply use: CountdownTimerView(seconds: 120) Example Output