Description
Haze is a library for visual effects in Compose Multiplatform, providing hardware-accelerated background blur and glass effects for Android, iOS, macOS, desktop and web. Its modular Haze 2 API lets you apply blur to captured source content or to a modifier's own content, with explicit and reusable configuration. You add the core module together with only the effect modules you need, such as the blur module, the optional ready-made blur styles, the Material 3 blur style factory, the glass module, and the Material 3 glass style factory. The blur module offers HazeInput for choosing between captured sources and the modifier's own content, and reusable HazeBlurStyle objects that can be shared and varied. Optional material presets provide thin, regular and thick blur styles. The glass module adds a material-like glass effect with refraction, depth blur, tint, lighting and highlights, plus optional pointer, focus and press responses. Haze 2 is in beta, and the README links a migration guide for anyone moving from Haze 1 or an earlier Haze 2 prerelease. The project is on GitHub at chrisbanes/haze.…
Highlights
- Blur and glass effects in Compose
- Android, iOS, macOS, desktop and web
- Modular artifacts you add as needed
- Reusable blur styles and material presets
- Material 3 integrations
Ratings & Reviews
No ratings yet
Be the first to rate Haze.
People also visit
ComposeViews
Compose Multiplatform views, in to Android, Web, Desktop, iOS: Pager, Banner
Haze FAQ
What is Haze?
A library for background blur and glass effects in Compose Multiplatform and Jetpack Compose.
Which platforms does it support?
Android, desktop (JVM), iOS, macOS and Wasm/JS, according to the platform table.
Is it stable?
Haze 2.0 is in beta, according to the README.
What do I add to my project?
The core module, plus only the effect modules you use, all on the same version.
Does it work with Material 3?
Yes. Optional artifacts provide Material 3 blur and glass style factories.
Where is the source?
On GitHub at chrisbanes/haze.
What are the best Haze alternatives?
Popular alternatives to Haze include Liquid, AndroidLiquidGlass and HypnoticCanvas. See all Haze alternatives





