Context menu that pops out of a dots button

A '•••' button opens a small action menu that scales out of the button itself; three levels compare plain, spring and morphing open animations.

By joshpuckett (@joshpuckett) · View original post

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

Prompt

Build a context menu in React + Framer Motion on a #ececec background.…

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

Build it with

Motion details

Timing
150ms, 25ms
Spring
stiffness 500, damping 30
Stagger
25ms
Details
Shared-element transition · Blur

Keyframes

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

Six keyframes from Context menu that pops out of a dots button

Questions

How do I build the context menu that pops out of a dots button 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: 150ms, 25ms. Spring: stiffness 500, damping 30. Stagger: 25ms. Details: Shared-element transition · Blur.
Who designed this animation?
joshpuckett (@joshpuckett) shared it on X. Kites Motion links back to the original post.

More from joshpuckett

All by @joshpuckett →