
Wave Loader
From syxUI — written for both platforms, not translated between them.
An audio-wave style loader.
Loaders · SwiftUI · iOS 17
- loaders
- swiftui
The actual source
WaveLoader.swift
// Wave Loader · syxUI · https://syxui.dev/components/loader-wave
// 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 WaveLoader: View { var body: some View { HStack(alignment: .center, spacing: 5) { ForEach(Array([16.0, 28, 40, 28, 16].enumerated()), id: \.offset) { _, h in Capsule().fill(ldBlue).frame(width: 6, height: h) } }.frame(height: 40) } }
iOS 17 · No dependencies
Dependencies
- SwiftUI
- No external dependencies
Requires iOS 17


