Contents

ronitsabhaya75/luxe-ui

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. Toast Notifications

Premium feedback system for user-facing notifications.

  • LuxeToast: Glassmorphic toast with 4 semantic styles (success, error, warning, info) + custom.
  • LuxeToastManager: Environment-based queue with auto-dismiss, swipe-to-dismiss, and haptics.
  • .luxeToast() Modifier: Single-line setup attaching the toast overlay.

4. 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.

Package Metadata

Repository: ronitsabhaya75/luxe-ui

Default branch: main

README: README.md