Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.96 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.96 KB

Blur Engine

Real-time background blur, liquid glass and progressive blur for Android Views and Jetpack Compose. Android 10 (API 29) and up.

Documentation · Getting started · Recipes · Changelog · Releases

Liquid Glass Gradient Blur Multi-layer Blur Blur Animation
Liquid glass widgets and a drifting glass lens refracting a landscape A travel feed scrolling under a progressively blurred header and footer Three glass boarding passes fanning out and stacking, each blurring the ones below A home screen blurring in and out with show, a bouncy spring, hide and a dragged sheet

Install

dependencies {
    implementation("io.github.mrsluffy:blur-view:1.0.1")     // Android Views
    implementation("io.github.mrsluffy:blur-compose:1.0.1")  // Jetpack Compose (includes blur-view)
}
// Views
val bar = BlurView(context).apply {
    blurRadius = 24 * density
    setTint(Color.WHITE, 0.2f)
}

// Compose
Box(Modifier.blurSurface { radius = 24.dp; tint(Color.White.copy(alpha = 0.2f)); cornerRadius(20.dp) })

Everything else is on the documentation site: the full Views and Compose API, effects, animation, recipes, performance and troubleshooting. The demo app is attached to each release as an APK.

Contributing

See CONTRIBUTING.md for building, tests and benchmarks.

License

Apache License 2.0. See LICENSE.

Copyright 2026 MrSluffy