Skip to content

Ronitsabhaya75/Luxe-UI

Repository files navigation

LuxeUI ✨

Swift Versions Platforms Platform Swift License SwiftUI

LuxeUI is a premium, high-performance UI framework designed for 2026. It goes beyond standard components to provide "living" interfaces with refractive glassmorphism, fluid liquid effects, and intelligent spring physics.


✨ Features

1. Foundation (Core Components)

The backbone of modern, premium interfaces.

  • Glassmorphism Engine: GlassmorphismContainer & LuxeCard with multi-layered blur, saturation boost, and dynamic theme adaptation.
  • Interactive Elements: LuxeButton (Primary, Secondary, Glass, Custom), LuxeBadge.
  • Cinematic Backgrounds: MeshGradientBackground & FloatingOrb for depth and atmosphere.
  • Data Visualization: MultiThumbSlider (Range) & CircularProgressBar (Gradient).
  • Theme System: 8 Presets (Midnight, Neon, Ocean, Sunset, Forest, Monochrome, Light, Default).

2. Liquid UI (Premium Effects)

Organic, "gooey" components that feel alive.

  • LiquidLoader: Metaball loading animations where blobs merge fluidly.
  • LiquidButton: Interactive buttons with morphing, living backgrounds.
  • LiquidProgress: Wave-filled progress bars.
  • LiquidBlob: Standalone decorative elements that breath and morph.

3. Smart Interactions

  • SmartSpringEngine: Velocity-aware spring physics for natural motion.
  • MagneticPull: Elements that subtly attract the cursor.

🚀 Quick Start

Installation

Add LuxeUI to your Package.swift:

dependencies: [
    .package(url: "https://github.com/Ronitsabhaya75/Luxe-UI.git", from: "1.0.0")
]

Usage Example

import SwiftUI
import LuxeUI

struct ContentView: View {
    var body: some View {
        ZStack {
            // Cinematic Background
            MeshGradientBackground(colors: [.purple, .blue, .black])
                .ignoresSafeArea()
            
            VStack(spacing: 30) {
                // Glass Card
                LuxeCard {
                    Text("Welcome to LuxeUI")
                        .font(.title.bold())
                }
                
                // Liquid Button
                LiquidButton("Get Started", configuration: .neon) {
                    print("Tapped!")
                }
            }
        }
    }
}

📱 Demos

Run the included demo apps to see the components in action:

1. Foundation & Themes

swift run CoreComponentsDemo

2. Premium Liquid Effects

swift run LiquidUIDemo

📚 Documentation

Full documentation is available in the docs/ folder and documentation/ directory.

📄 License

MIT License - see LICENSE for details.

About

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages