CursorErik Nilsson, Ian Huang & Ryo LuAnnouncement
Direct agents with visual prompts in Design Mode
Summary
Design Mode updates Cursor’s browser-based agent workflow for spatial UI work, letting users edit a product in context rather than relying on chat descriptions alone. Users can select one or more elements, draw on a frozen viewport frame, or narrate instructions by voice; references can express relationships such as matching components or changing a group together. Element selection supplies identity signals including XPath, component, attributes, computed styles, and fiber-tree props, alongside a screenshot capturing layout and page state. Users can queue edits while earlier ones run, manage multiple subagents, and see results through hot reloads, with Composer 2.5 described as suited to fast, targeted interface changes. The update is presented as a way to tighten the noticing-to-editing loop while preserving control and precision during UI iteration.
Context
Chat alone does not capture the spatial annotations commonly used for UI work. Designers, PMs, and frontend developers need to point to elements, regions, and page states while refining a running product.
Approach / What changed
Design Mode adds element selection, multi-selection, drawing over a frozen viewport frame, and voice input. Selected elements contribute identity data such as XPath, component, attributes, computed styles, and fiber-tree props, while screenshots provide spatial context. Users can send successive edits, manage multiple subagents, and see changes through hot reloads.
Takeaways
Element references combine structural signals, including XPath, component, attributes, computed styles, and fiber-tree props, with a screenshot of the surrounding layout and exact page state.
Multi-select supports relationship-based changes, such as making one component match another, removing repeated content, or adjusting a group together.
Design Mode allows users to send additional edits before earlier ones finish, while hot reloads show completed changes in the running product.
Source and freshness
- Source
- cursor.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.