Skip to content

ErsanQ/GlassKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GlassKit

A premium glassmorphism UI library for SwiftUI, bringing the elegance of Apple Vision Pro and macOS to your iOS apps.

GlassKit Demo

Features

  • 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 BlurView wrappers.

Supported Platforms

  • iOS 14.0+
  • macOS 11.0+

Installation

.package(url: "https://github.com/ErsanQ/GlassKit", from: "1.0.0")

Usage

Simple Glass Modifier

Text("Hello Glass")
    .glass() // Adds blur, border, and shadow

Using Glass Components

ZStack {
    GlassBackground() // Colorful gradient
    
    GlassCard {
        VStack {
            Text("Premium Card")
            GlassButton("Tap Me") {
                print("Action")
            }
        }
    }
}

Author

ErsanQ (Swift Package Index Community)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages