Attachment picker for an AI chat
Tapping + in an AI chat opens a sheet of recent photos, files and camera; picking photos animates them up into the input as thumbnails.
By Laura Sandoval (@laurasideral) · View original post
Originally built with SwiftUI. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More input & form animations in SwiftUI →
Prompt
Build an AI chat attachment flow in SwiftUI (Notion-style).…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Spring
- spring-based
- Details
- Reduced-motion fallback · Shared-element transition
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 attachment picker for an ai chat 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: spring-based. Details: Reduced-motion fallback · Shared-element transition.
- Who designed this animation?
- Laura Sandoval (@laurasideral) shared it on X. Kites Motion links back to the original post.
More from Laura Sandoval
All by @laurasideral →Similar animations
More input & form animations →
Attachment menu that grows from the keyboardMenu
Feedforward AI chat that shows what it will assumeInput
Custom select that spins like a wheelInput
Invoice that you sign by handInput
AI toolbar that turns into searchMorph
Timeline sidebar with Day, Week, MonthTransition
Mega menu that blurs the heroMenu
Password field that counts and confirmsInput