Description
Liquid is a library for Compose Multiplatform that adds liquid-glass style effects to Compose UI. Its modifier nodes can sample and distort the pixels behind them, which Compose's normal rendering pipeline does not allow. You tag a node as liquefiable and the effect is applied to the content behind it, which gives frosted glass, lens and dispersion looks. The effects are built on RuntimeShader and RuntimeEffect and the ModifierNodeElement API, and the README says they run on the GPU. To use it, add mavenCentral and the Liquid dependency to your repositories and dependencies, then follow the simple implementation in the quick start. The README credits the Haze library and several shader authors and projects that inspired the effects, and it lists credits for the sample images. The full documentation is linked from the README. It is a developer library for Compose apps, not an end-user app.…
Highlights
- Frosted glass, lens and dispersion effects
- Tag nodes as liquefiable to distort what is behind
- GPU-accelerated through RuntimeShader
- Works in Compose Multiplatform projects
Ratings & Reviews
No ratings yet
Be the first to rate Liquid.
People also visit
ComposeViews
Compose Multiplatform views, in to Android, Web, Desktop, iOS: Pager, Banner
Liquid FAQ
What is Liquid for?
It is a library that brings liquid-glass style effects, such as frosted glass and lens distortion, to Compose Multiplatform UI.
How do I add it to a project?
Add mavenCentral() and the Liquid dependency to your repositories and dependencies, as shown in the quick start.
Is it GPU accelerated?
Yes. The README says the effects are powered by RuntimeShader and RuntimeEffects and run on the GPU.
Where is the full documentation?
The README links to full documentation and to a quick start example.
What inspired it?
The Haze library by Chris Banes, along with shader examples and projects by other developers, which the README credits by name.
What are the best Liquid alternatives?
Popular alternatives to Liquid include Haze, HypnoticCanvas and AndroidLiquidGlass. See all Liquid alternatives





