Gooey toggle that stretches its knob
A blue switch whose white knob stretches like liquid as you drag it, pulling away from the edge before snapping across, with sound.
By Arek (@arknow91) · View original post
Originally built with React. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More toggle & switch animations in React →
Prompt
Build a gooey toggle in React + Framer Motion with an SVG goo filter (feGaussianBlur + feColorMatrix alpha threshold).…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Spring
- stiffness 520, damping 24
- 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.

Questions
- How do I build the gooey toggle that stretches its knob 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?
- Spring: stiffness 520, damping 24. Details: Reduced-motion fallback · Blur · Gesture-driven.
- Who designed this animation?
- Arek (@arknow91) shared it on X. Kites Motion links back to the original post.
More from Arek
All by @arknow91 →Similar animations
More toggle & switch animations →
Pill widget that switches between appsMorph
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
Typing bubble that turns into a liked messageMicrointeraction
App icon that opens through a liquid glass lensTransition
Mini-player that expands like Apple MusicTransition