skills/design.how/liquid-ui

liquid-ui

Installation
SKILL.md

Liquid UI

Cards that fuse where they meet, the corner between them curving inward like poured liquid. See it live at https://design.how/vault/liquid-ui.

What to build

White cards on a pale grey ground step through three little scenes: a grid panel with a "Grid" tab on its top edge, a chat bubble with its tail, and a share card with a "Share" button on its right edge. The playground adds a search bar with a round go button. Where a small piece meets a large one they are one surface: the corner between them curves inward, like they were poured together. Every 1.8 seconds the pieces ease to their next places over 0.56 seconds, with the content swapping at the midpoint, and a slow drift keeps the tab flexing against its panel.

There is no drawing by hand. Each card is a rounded box, and the surface is the union of their signed-distance fields taken with a polynomial smooth minimum, so near a seam the fields blend and that blend is the concave fillet. One number, the blend k, spans the look: about 20 is a crisp inverse-rounded joint, 60 a gooey neck, and 0 a hard seam.

The field is sampled on a 6px grid, marching squares traces its zero contour with linear interpolation along each edge, the loose segments are stitched into closed loops, and two passes of Chaikin smoothing turn the staircase into a fluid curve. The result is one SVG path behind the cards, and the real content, placeholder blocks, lines and labels, sits on top in normal DOM. Each scene is laid out in its own design space and scaled to the card; a phone gets a tighter layout of its own instead of a shrunken one.

Workflow

Installs
7
First Seen
Nov 5, 2026