One shape morphing through UI states

A single black pill morphs, without a cut, from a button into a check, a music player, a toggle, a chart card, a command palette and back, driven by a cursor.

By zero (@twoclipping) · View original post

Originally built with React. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More morph animations in React →

Prompt

Build a looping UI motion study in a single HTML file (vanilla JS, no libraries), 1:1 canvas on a warm light-gray (#ecebe8) background.…

Free forever. Available for React, SwiftUI, React Native and HTML/CSS.

Build it with

Motion details

Timing
450ms
Spring
spring-based
Details
Reduced-motion fallback · Blur · Gesture-driven

Keyframes

Six frames from the clip, left to right. Agents get this sheet as a reference with the prompt.

Six keyframes from One shape morphing through UI states

Questions

How do I build the one shape morphing through ui states in React?
Copy the Kites Motion prompt for this clip (free account) and paste it into Claude Code, Cursor or Codex, or send it there in one click. The prompt describes the layout, timing and interactions, and links a keyframe sheet so your agent can match the motion. It is written for React and can be rewritten for SwiftUI, React Native, HTML/CSS.
What are the motion details?
Timing: 450ms. Spring: spring-based. Details: Reduced-motion fallback · Blur · Gesture-driven.
Who designed this animation?
zero (@twoclipping) shared it on X. Kites Motion links back to the original post.

Similar animations

More morph animations →