MCPInstall
arla6ka avatar

liquid-ui

Builds fused UI cards in React and SVG, in which rounded boxes are joined by the smooth union of their signed-distance fields, traced into one path by marching squares and Chaikin smoothing and drawn behind real DOM content, so where two cards meet the corner curves inward, with one blend knob from crisp inverse-rounded joints to gooey metaballs. Use when someone asks for gooey or liquid UI, fused cards, inverse rounded corners, a metaball interface, a blob tab attached to a card, or morphing UI shapes.

Installs
0
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/arla6ka/design.how --skill liquid-ui
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads liquid-ui automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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

  1. Copy assets/template/ into the project, for example to components/liquid-ui/. It is React and TypeScript: params.ts, sdf.ts, marching-squares.ts, engine.ts, scenes.tsx, group.tsx, card.tsx, plus runtime/, the small helpers they import.
  2. Read the FIXED steps below before touching the code. They are what makes the effect; keep them.
  3. Change only the VARIABLE values in the params file, or pass them as props where the card takes them.
  4. Mount the card in a box with a fixed aspect ratio of 16 / 9, so the page never shifts when it paints.
  5. Fonts come from fonts.css, which the card imports and which sets --visual-sans to a system stack. Put the project's own face first in that stack (the VARIABLE table says what kind). Any face of that kind works, because the layout is measured from the live font. In a pages-router Next app, import fonts.css from pages/_app instead.
  6. Read references/perf.md before changing the engine or mounting several visuals on one page.
  7. Run node scripts/check.mjs components/liquid-ui on the copied folder, fix every line it prints, and rerun until it prints ok.

FIXED

  • Give every piece a box: centre, half-extents and corner radius, and evaluate sdRoundBox for each.
  • Combine the pieces with smin(a, b, k) = mix(b, a, h) - k h (1 - h), with h = clamp(0.5 + 0.5 (b - a) / k, 0, 1).
  • Sample the field on a grid of cell px over the pieces' bounds plus a margin, and run marching squares at 0 with edge interpolation.
  • Stitch the segments into loops, Chaikin-smooth them SMOOTH times, and write one path d; recompute only when a box or k changed.
  • Draw the path in an SVG behind the pieces and place each piece's content absolutely on top.
  • To animate, ease each piece's box and k between scenes and add a small drift to the tab; to drag, move a piece's box.
  • Under reduced motion, hold the first scene.

VARIABLE

NameDefaultWhat it changes
CARD_SCENESgrid panel, chat bubble, share cardThe scenes the card steps through, with each piece's box and content, in scenes.tsx.
k20 to 60 per sceneThe blend: low is a crisp inverse-rounded joint, high a gooey melt.
HOLD_MS, MORPH_MS1800, 560How long a scene holds and how long the pieces travel.
SKIN, GROUND#ffffff, #f7f7f7The fused surface and the card behind it.
SMOOTH2Chaikin passes over the traced outline.
--visual-sans in fonts.csssystem-ui, sans-serifThe typeface for this role, a plain grotesque. Put the project's face first.

FAQ

What does the liquid-ui skill do?

Builds fused UI cards in React and SVG, in which rounded boxes are joined by the smooth union of their signed-distance fields, traced into one path by marching squares and Chaikin smoothing and drawn behind real DOM content, so where two cards meet the corner curves inward, with one blend knob from crisp inverse-rounded joints to gooey metaballs. Use when someone asks for gooey or liquid UI, fused cards, inverse rounded corners, a metaball interface, a blob tab attached to a card, or morphing UI shapes.

How do I install liquid-ui?

Run npx skills add https://github.com/arla6ka/design.how --skill liquid-ui in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/liquid-ui/ (personal) or .claude/skills/liquid-ui/ (project).

Which AI agents can use liquid-ui?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is liquid-ui safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains liquid-ui?

It is published by arla6ka in arla6ka/design.how. It has 0 recorded installs.

More from arla6ka/design.how

View all →
arla6ka avatar

build-design-system

arla6ka/design.how

Use when someone wants a design system built from the UI an app already ships, or one phase of it, such as "extract tokens from the app", "add states to our Button", "replace the hardcoded colors with tokens" or "start a design system". Moving screens onto an existing system's components is migrate-design-system. A vague whole-app ask goes to design-system-boss.

Frontend & Design667 installs
arla6ka avatar

ui-review

arla6ka/design.how

Use to critique a screen, flow, prototype or running build, accessibility included, and rank what is broken, such as "check this page before I ship", "is this flow ready", "is it accessible", keyboard or screen-reader checks, "it feels off on my phone" or "it feels janky". Not for token compliance, which is token-mapping.

Frontend & Design655 installs
arla6ka avatar

token-mapping

arla6ka/design.how

Use to report how hardcoded style values on a page, file or diff map onto a project's existing design tokens, such as "are we using our tokens here", "which hardcoded colors map to which tokens", a token audit or planning a token migration. It never edits. Replacing the values is build-design-system.

arla6ka avatar

component-docs

arla6ka/design.how

Use to write one component's documentation entry from its code, stories and real call sites, such as "document the button", "write docs for Select", "what states does Toast have", or usage rules for a new or changed component. Not for foundations or pages that span components, which no skill here writes, nor for changing the component, which is build-design-system.

Frontend & Design638 installs
arla6ka avatar

design-system-boss

arla6ka/design.how

Use for vague whole-app design system asks on an app that already ships UI, such as "our UI is a mess, fix it", "we need a design system", "we hardcode colors everywhere", "make the buttons consistent" or "check the app before I ship". One named screen goes to ui-review, one component to component-docs, a token report to token-mapping. A repo with no UI yet is out of scope.

Frontend & Design637 installs
arla6ka avatar

migrate-design-system

arla6ka/design.how

Use when an app has to move onto a design system that already exists, such as "migrate the app to our design system", "move every screen onto the new components", a rollout, or an adoption audit. Not for making the system or for swapping raw values for tokens, which are build-design-system.

Frontend & Design634 installs

Popular frontend & design skills

View category →
mattpocock avatar

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.2M installs
anthropics avatar

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1.2M installs
mattpocock avatar

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design1.1M installs
uizze.sh avatar

ui-taste

uizze.sh

Give your coding agent better UI taste. Build and polish web and iOS interfaces with Uizze's anti-ui-slop playbooks and optional real-product references. Use for UI design, implementation, redesign, critique, or a final visual review in Claude Code, Codex, Cursor, or Copilot.

Frontend & Design1.1M installs
heygen-com avatar

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

heygen-com avatar

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design931.4K installs