Skip to content
Pulse Loader preview
Rendered from the SwiftUI source on this page.

Pulse Loader

From syxUI — written for both platforms, not translated between them.

A concentric pulse loader.

Loaders · SwiftUI · iOS 17

  • loaders
  • swiftui

The actual source

PulseLoader.swift
// Pulse Loader · syxUI · https://syxui.dev/components/loader-pulse
// 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 PulseLoader: View { var body: some View { ZStack { Circle().fill(ldBlue.opacity(0.1)).frame(width: 60, height: 60); Circle().fill(ldBlue.opacity(0.2)).frame(width: 42, height: 42); Circle().fill(ldBlue).frame(width: 24, height: 24) } } }
iOS 17 · No dependencies

Dependencies

SwiftUI
No external dependencies

Requires iOS 17