AI toolbar that turns into search
A floating toolbar (Ask AI and tools) where pressing search morphs the whole bar into a search field right under your cursor.
By Sebastiano Guerriero (@guerriero_se) · View original post
Originally built with React. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More morph animations in React →
Prompt
Build a morphing floating toolbar in React + Framer Motion.…
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 ai toolbar that turns into search 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: spring-based. Details: Reduced-motion fallback · Shared-element transition.
- Who designed this animation?
- Sebastiano Guerriero (@guerriero_se) shared it on X. Kites Motion links back to the original post.
More from Sebastiano Guerriero
All by @guerriero_se →Similar animations
More morph animations →
Custom select that spins like a wheelInput
Browser tab whose liquid corners detach as you dragMicrointeraction
Context menu that pops out of a dots buttonMenu
Time range picker with a clock handSlider
Media menu that collapses into icon buttonsMenu
One-time code input with statesInput
Filter sheet with a price rulerSlider
Attachment menu that grows from the keyboardMenu