Beautiful, lightweight, and fully customizable skeleton loading for SwiftUI.
- ✨ Animated shimmer placeholders
- 🎨 Shape-based
SkeletonView - 🧩
.skeleton()modifier for any SwiftUI view - 🌍 Environment-driven configuration
↔️ Automatic RTL/LTR support- ♿ Respects Reduce Motion
- 🧱 Immutable fluent configuration
- 🍎 Pure SwiftUI
- iOS 16+
- SwiftUI
Add the package URL in Xcode.
SkeletonView(shape: RoundedRectangle(cornerRadius: 12))Text("Username")
.skeleton(isRedacted: true)let configuration = SkeletonConfiguration.default
.duration(1.4)
.rotation(8)
.tint(.gray.opacity(0.25))
.highlight(.white.opacity(0.9))
.widthFactor(0.45)
.blendMode(.softLight)
.direction(.automatic)ContentView()
.skeletonConfiguration(configuration)Displays a standalone skeleton placeholder for any SwiftUI Shape.
Applies a skeleton placeholder to existing views using SwiftUI redaction.
Immutable configuration object with fluent builder methods.
- automatic
- leftToRight
- rightToLeft
- Reduce Motion supported
- RTL supported
- VoiceOver placeholder hidden while loading
- Configure once via environment.
- Override locally only when necessary.
- Keep shimmer subtle.
MIT