Liquid UI

Credits and references

The design systems, research and open source projects behind Liquid UI.

Liquid UI is an independent web implementation. It isn't affiliated with, endorsed by or sponsored by Apple Inc. or Aave Labs.

Apple design team

Apple created and introduced the Liquid Glass design language. Its platform controls, interaction behaviour, material hierarchy, concentric geometry, lensing and accessibility guidance are the main design reference for this project. We worked from these:

Apple's rendering technology and source code are proprietary. Liquid UI has no Apple framework code in it and doesn't claim pixel-identical rendering, it recreates the interaction principles you can observe, using browser APIs.

Aave Labs

The Aave Labs design and engineering team published Building Glass for the Web, and it was the main engineering reference for the cross-browser refraction here. What we studied from it:

  • Generated red and green displacement maps driving feDisplacementMap.
  • Refracting intentional copies of a component's fills instead of sampling arbitrary page pixels.
  • Computing a symmetric rounded rectangle map by quadrants.
  • Refreshing SVG filter identifiers for Safari.
  • Using the same displacement model in WebGL when live video can't pass through Safari's SVG filter pipeline.

Aave's article credits Abhijeet Singh for leading research and development, Lochie Axon for writing, Alex Vanderzon and Ana Howard for design direction, and the wider Aave Labs team for testing and refinement. Thank you to them for choosing to publish the technique and their browser findings.

Liquid UI's source was written independently for this project, it isn't an Aave component release.

Family

Liquid Drawer follows the drawer in Family, designed by Benji Taylor and the Family team. It's a floating tray that fits its content and morphs its height as one view gives way to the next. Liquid UI's drawer is an independent build in Liquid Glass and isn't affiliated with Family.

Open source

  • shadcn/ui. The open code registry and distribution model.
  • Radix Primitives. Accessible behaviour for Switch, Slider and Tabs.
  • Vaul by Emil Kowalski. Liquid Drawer follows its drag feel and easing curve.
  • Notionists by Zoish (CC0), generated with DiceBear. The avatars in the examples.

Photos

The photos in the examples are from Unsplash, served through Lorem Picsum and used under the Unsplash License. Thank you to Alexey Topolyanskiy, Joseph Barrientos, Anna Popović, Paul Jarvis, Austin Neill, Margaret Barley, Andrew Ridley, Wolfgang Lutz, Christian Joudrey, Go Wild, sergee bee, Kevin Young, Oleg Chursin, Nicholas Swanson, veeterzy, Karl Fredrickson, Marat Gilyadzinov, Jay Ruzesky, Vashishtha Jogi.

On this page