A premium glassmorphism UI library for SwiftUI, bringing the elegance of Apple Vision Pro and macOS to your iOS apps.
- Zero Boilerplate: Apply glass effects with a simple
.glass()modifier. - GlassCard: Pre-styled container with frosted glass and glowing borders.
- GlassButton: Interactive glass buttons with scale effects.
- GlassBackground: Dynamic, vibrant mesh gradients to highlight transparency.
- Backward Compatible: Supports iOS 14+ via custom
BlurViewwrappers.
- iOS 14.0+
- macOS 11.0+
.package(url: "https://github.com/ErsanQ/GlassKit", from: "1.0.0")Text("Hello Glass")
.glass() // Adds blur, border, and shadowZStack {
GlassBackground() // Colorful gradient
GlassCard {
VStack {
Text("Premium Card")
GlassButton("Tap Me") {
print("Action")
}
}
}
}ErsanQ (Swift Package Index Community)
