Agent question cards above the chat box
An 'Ask anything' chat box where an agent asks three quick multiple-choice questions in a card that grows above it, then collapses into 'Submitting answers…'.
By Mikk Martin 🇪🇪🇺🇦 (@mikkmartin) · View original post
Originally built with React. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More input & form animations in React →
Prompt
Build an agent clarifying-questions widget in React + Framer Motion.…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Timing
- 30ms
- Spring
- stiffness 360, damping 32
- Details
- Reduced-motion fallback
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 agent question cards above the chat box 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: 30ms. Spring: stiffness 360, damping 32. Details: Reduced-motion fallback.
- Who designed this animation?
- Mikk Martin 🇪🇪🇺🇦 (@mikkmartin) shared it on X. Kites Motion links back to the original post.
More from Mikk Martin 🇪🇪🇺🇦
All by @mikkmartin →Similar animations
More input & form animations →
Login screen where the cards shrink to make roomInput
Feedforward AI chat that shows what it will assumeInput
Dark users dashboard with an avatar clusterCards
Invoice that you sign by handInput
Pricing card with gooey text morphText effect
Dashboard that dives from overview into projectsTransition
Report that reflows as you drag its edgeTransition
Moodboard canvas that zooms into each itemTransition