All motion keywords
Toggle
toggle-morphMorph
Shape morphs — pill ⇄ circle, width + radius.
Expanded
tap / hover to playconst [on, setOn] = useState(false);
<motion.button
onClick={() => setOn((o) => !o)}
animate={{ borderRadius: on ? 999 : 16, width: on ? 56 : 160 }}
transition={{ type: "spring", stiffness: 300, damping: 26 }}
/>How to use it
Copy-paste
Grab the code above and drop it onto any motion.* element.
Or name it
In Claude Code / Cursor, run /ss-motion toggle-morph and the recipe lands in your code.
Personality
Pairs naturally with the silk seed (smooth, elegant).
Related Toggle moves
20+ named motion moves
All copy-paste, all in StyleSeed’s design engine. MIT.