Skip to main content

Editing visually

Some changes are quicker to make by hand than to describe. The visual editor lets you click any element in your live preview and change it straight away: rewrite a heading, recolour a button, adjust spacing, or swap an image. You stay in the preview the whole time, and you do not spend any credits.

A TatbiQ preview in edit mode with an element selected and the floating toolbar open above it
Turn on edit mode, click an element, and change it with the toolbar that appears.

Use the visual editor for small, specific changes you can point at. Use AI chat when you want new pages, new features, or anything that needs the AI to write code.

Turn on edit mode

Open your project's preview

The visual editor works on the live preview, so open your project and make sure the preview is showing.

Find the editor toolbar

A small toolbar floats over the preview. On desktop it sits against the edge of the preview, and you can drag it to any side. On a phone or tablet you will find it in the bar at the bottom of the screen.

Switch on edit mode

Select the edit option, labelled Edit elements visually. The preview stays interactive, but clicks now select elements instead of activating them.

Turn it off when you are done

Select the same option again to leave edit mode and use your app normally.

When edit mode is not available

Edit mode is greyed out in two situations. If you see Redeploy the preview to enable visual editing, your preview was built before visual editing was ready for it, so deploy the project once and it becomes available. If you see Available when the builder finishes, the AI is currently working on your app. Editing resumes automatically once it is done.

Select an element

Move your pointer over the preview and each element you can edit is outlined. Click one to select it. A toolbar appears next to your selection, along with a small chip showing what kind of element it is.

If you selected something smaller or larger than you meant, select that chip to open Select parent element. It lists the elements that contain your selection, so you can step out to the button, the card, or the whole section. On a phone or tablet, press and hold an element to open the same list.

Change the text

To rewrite text, select the element and choose Edit Text. The text becomes editable in place, so you type directly on the page. Press Enter to save it or Esc to cancel and put the original text back.

On a phone or tablet, tap the element once to select it, then tap it again to start typing. The keyboard opens with the text ready to edit.

What you can change

Once an element is selected, the toolbar offers the controls that make sense for it: a heading gets text and typography controls, an image gets image controls, and so on. On smaller screens these are grouped into Text, Layout, and Style menus, with anything left over under More controls.

ControlWhat it changes
TextThe words in the element
Text colorThe colour of the text, from your app's theme colours or your own
Background colorThe background, as a solid colour or a gradient
Font sizeThe text size
Font familyThe typeface, for this element or for all headings or body text
Text styleBold, italic, underline, strikethrough, alignment, and capitalisation
SpacingPadding and margin on each side
SizeWidth and height
Corner radiusHow rounded the corners are
OpacityHow transparent the element is
Tailwind classesThe styling classes directly, if you know Tailwind CSS
Change imageThe image, from a web address or a file you upload
Delete elementRemoves the element from the page

Every change shows in the preview immediately. Not every control appears on every element, and a few elements have to be changed through the AI instead. See Visual editor tips and limits for why.

Your changes save themselves

You do not need to save anything. A small status appears while TatbiQ writes your change into your app, moving from Saving... to Saved. If your connection drops you will see Save failed - retry, and you can retry from the same spot.

Undo and redo

Made a change you do not want? Press Cmd + Z on Mac or Ctrl + Z on Windows to undo it, and add Shift to redo. You can also use the undo and redo buttons in the editor toolbar.

Undo covers the visual changes you have made in this project, and it keeps working after you reload the page. To step back further than that, use Checkpoints.

The TatbiQ visual editor toolbar with the spacing control open and a change count on the deploy button
Each control previews instantly, and the deploy button counts the changes waiting to go live.

Deploy your changes

Your changes are saved into your app right away, but your live preview and your published app are built from your project, so they update when you deploy.

The editor toolbar keeps a count of changes waiting to go live and shows it on the Deploy button. Select it, then choose Deploy now. TatbiQ rebuilds the preview and saves a checkpoint at the same time, so this version is easy to return to later.

tip

Editing visually does not cost credits, no matter how many changes you make. You only spend credits when you ask the AI to do something, such as Edit with TatbiQ or Regenerate design. See Chat edit credit costs.

Next steps