
Progress Ring
From syxUI — written for both platforms, not translated between them.
A circular progress ring with a percentage.
Loaders · SwiftUI · iOS 17
- loaders
- swiftui
The actual source
ProgressRingLoader.swift
// Progress Ring · syxUI · https://syxui.dev/components/loader-ring
// Free in any project. Keep this line and credit syxUI where a person can read it.
import SwiftUI
let ldBlue = Color(red: 0.0, green: 0.47, blue: 1.0)
struct ProgressRingLoader: View { var body: some View { ZStack { Circle().stroke(Color.primary.opacity(0.08), lineWidth: 8).frame(width: 90, height: 90); Circle().trim(from: 0, to: 0.65).stroke(ldBlue, style: StrokeStyle(lineWidth: 8, lineCap: .round)).frame(width: 90, height: 90).rotationEffect(.degrees(-90)); Text("65%").font(.system(size: 20, weight: .bold)) } } }
iOS 17 · No dependencies
Dependencies
- SwiftUI
- No external dependencies
Requires iOS 17


