Pill widget that switches between apps
A tall rounded pill that morphs between a Spotify control, a contact and a red call button, squishing and recolouring as it switches.
By Gabriel Foulon (@GabFoulon) · View original post
Originally built with SwiftUI. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More morph animations in SwiftUI →
Prompt
Build a switching pill widget in SwiftUI (or Rive).…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Spring
- response 0.35, dampingFraction 0.6
- Scale
- 1.06
- Details
- Reduced-motion fallback · Blur
Keyframes
Six frames from the clip, left to right. Agents get this sheet as a reference with the prompt.

Questions
- How do I build the pill widget that switches between apps in SwiftUI?
- 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 SwiftUI and can be rewritten for React, React Native, HTML/CSS.
- What are the motion details?
- Spring: response 0.35, dampingFraction 0.6. Scale: 1.06. Details: Reduced-motion fallback · Blur.
- Who designed this animation?
- Gabriel Foulon (@GabFoulon) shared it on X. Kites Motion links back to the original post.
More from Gabriel Foulon
All by @GabFoulon →Similar animations
More morph animations →
Gooey toggle that stretches its knobToggle
Browser tab whose liquid corners detach as you dragMicrointeraction
Save button that morphs through saving to savedButton
Context menu that pops out of a dots buttonMenu
Dynamic Island pill that morphs between statesMorph
Squishy anchored menu, morphing dropdown and speed dialMenu
App icon that opens through a liquid glass lensTransition
Mini-player that expands like Apple MusicTransition