Haze is a modern UI library designed for Jetpack Compose and Compose Multiplatform that enables advanced background blurring effects commonly associated with glassmorphism design. It provides a high-level abstraction for creating dynamic blur effects that apply to content behind UI elements rather than just the elements themselves, solving a limitation of standard blur modifiers. The library is built on top of Compose’s graphics layer APIs, allowing it to operate consistently across multiple platforms while maintaining performance. It introduces a flexible styling system where developers can define blur intensity, masking, and opacity dynamically using composable scopes. One of its standout features is support for progressive blurring, where blur intensity changes across a gradient, creating more visually refined effects. It also includes prebuilt “material” styles inspired by platforms like iOS and Windows, enabling developers to replicate native design aesthetics.
Features
- Background blur effects applied to underlying UI layers
- Compose Multiplatform support for cross-platform consistency
- Progressive blur gradients with customizable intensity
- Dynamic styling through composable scope APIs
- Prebuilt material styles inspired by iOS and Windows design systems
- High-performance rendering using graphics layer APIs