Create stunning glass text effects in SwiftUI
GlassText is a modern SwiftUI library that brings beautiful glass morphism text effects to your iOS, macOS, tvOS, and watchOS applications. Built on SwiftUI’s native glass effect API and optimized with Core Text for precise rendering.Installation
Add GlassText to your project with Swift Package Manager
Quick start
Get started with your first glass text effect in minutes
API reference
Explore the complete API documentation
Examples
Browse real-world examples and use cases
Key features
Glass morphism effects
Apply clear, regular, and tinted glass effects to your text
Font customization
Full control over font weights, designs, and sizes
Cross-platform
Works on iOS, macOS, tvOS, and watchOS
Performance optimized
Uses Core Text for precise metrics and optimal rendering
Localization support
Built-in support for LocalizedStringResource
Modern SwiftUI
Built with Swift 6.2 and latest SwiftUI APIs
Simple, powerful API
Requirements
- iOS 26.0+ / macOS 26.0+ / tvOS 26.0+ / watchOS 26.0+
- Swift 6.2+
- Xcode 26.0+
visionOS is not currently supported by GlassText.
What you can build
GlassText is perfect for:- Hero sections with eye-catching glass text overlays
- App titles and branding elements with modern aesthetics
- Dynamic backgrounds where text needs to stand out
- Onboarding screens with compelling visual effects
- Dashboard headers that blend beautifully with content