Open visual editing
Visual editing works on any app open in a browser preview. Click the select button (the cursor icon) in the Preview toolbar, or press . The button reads Selecting while it’s on. To stop, click Selecting again or press Esc. If you are editing text on the page, Esc first cancels the text edit.Ways to direct Devin
Each change starts with something you pick on the page. A menu opens next to it with a Describe a change… box for your note.Select an element
Hover over the page to see each element’s outline, then click the one you want to change. Type what you want in Describe a change… and press Enter to add it to your message.Mark an area
Drag across the page to box in an area, such as a section that needs more room, then describe the change. Devin gets the area and every element inside it.Draw on the page
Use the tools at the bottom of the Preview to mark up the page:- Draw a box around something.
- Draw with pencil to circle, underline or sketch. Pick a pencil color to tell several marks apart.
- Clear annotations removes your drawings, and Select element goes back to picking elements.
Edit properties
Open Edit properties in an element’s menu to change its styles. The panel starts from the values the page is rendering now, grouped by what they control. Type in Search or caption… at the top of the menu to jump to a property by name.- Drag to adjust. Drag across a number field to change it in steps. One drag is one undo step.
- Document colors and shadows. The color picker lists colors already used on the page, and the shadow editor offers the page’s existing shadows.
- CSS variables. Pick one of the page’s CSS variables instead of a raw value, so Devin can reuse the same token.
- Pick color from page. Use the eyedropper to sample any color on screen.
Edit text
On a text element, choose Edit text and type directly on the page. Press Esc to cancel.Delete an element
Delete element removes the element from the page so you can see the layout without it. Undo it from the notice that appears.Undo and redo
Undo and Redo step through all your edits in the Preview, across elements.Send changes to Devin
Click Add to chat in the element’s menu, or press Enter in Describe a change…. The element goes into your message as a quote with its changes and your note, and you can keep picking other elements. Each element becomes its own quote, so one message can carry changes to several elements. Before you send, open a quote to see its changes, edit its note or remove it. The select button shows how many changes you haven’t added to the chat yet.Keyboard shortcuts
What Devin sees
Your edits change only the page open in your Preview, not your source code. Nothing on Devin’s machine changes until you send them. Each quote gives Devin:- The element. Its tag, id and classes (for example
<button id="submit" class="primary">), up to 120 characters of its visible text, and the page URL. In React development builds, it also includes the component name and, before React 19, the source file and line. For an area, Devin gets the area’s size and every element inside it. - What changed. Every property you edited, with its old and new value, such as
padding: 8px → 16px. Text edits come through the same way. - A screenshot of the element as you left it, or of the area with your drawing on it.
- Your note, if you wrote one.
Work in flow
One edit usually leads to the next: you adjust a component, notice the spacing around it, then see how another part should match. Keep going while Devin works. Pick the next element and send another message; Devin takes it as a follow-up. If your dev server hot reloads, changes appear in the Preview as Devin makes them.- Edit, then explain. Make the change visually and add a short note about intent, for example “match the card padding on the pricing page” or “do this for every primary button”. Devin applies the edit where you made it unless your note says otherwise.
- Group related changes. Edit all the elements in one section before you send, so Devin can make one consistent change instead of several small ones.
- Prefer page values. Choosing document colors and CSS variables keeps Devin on your existing design tokens.
- Point for layout feedback. A box around an area plus a sentence is often clearer than editing many properties.
Limitations
- Edits apply to the page as it is now. Navigating to another page or reloading the Preview discards edits you have not added to the chat.
- Devin decides how to apply the change in your codebase. Check the result in the Preview, and send a follow-up if it needs adjusting.
- A message can hold only so many quotes. If one won’t fit, send the message and add the rest to the next one. Very long text edits are also sent without their structured details.
Related
- Browser previews: how previews work, who can open them and how to share them.
- Testing and recordings: have Devin test the app and record it.

