Documentation index for AI agents (llms.txt)
Skip to main content

Edit panel

The edit panel sits on the right side of the builder and shows the controls for whatever you have selected. With nothing selected, it styles the page itself.

Press ⌘E / Ctrl+E to show or hide it. When it's hidden, click the arrow on the right edge of the window to bring it back. The panel isn't shown while Settings, Data or the code editor is open.

Every change you make here goes straight into your site's code, and the canvas updates right away.

Floating the panel​

Drag the dotted grip at the top of the panel (Drag to detach) to float it over the canvas, then move it wherever it's handy. Drag its bottom edge to make it taller or shorter.

Edit panel floating over the canvas with the drag grip at the top

To dock it again, drag it to the right edge of the window. A highlighted strip shows where it will land (Drop at the right edge to dock). The builder remembers whether the panel floats and where you left it.

Page styles​

With nothing selected, the panel shows styles for the whole page: Background, Typography, Spacing, Effects, Transitions and Advanced. Spacing sets the page's padding.

Edit panel with no element selected, showing page Background and Typography

The values match what you see, even when the page color comes from your site's global styles rather than the page itself.

Style tab​

Select an element on the canvas or in the Layers panel, and the panel shows two tabs: Style and Properties. The panel remembers which tab you used last.

Style tab with the alignment row and the Layout and Size sections, with the position box under Layout

The row of buttons at the top pins an element with an absolute, fixed or sticky position to the left, center or right, and the top, middle or bottom. For other elements they're greyed out. Below them are sections you can open and close, and the panel remembers which ones you keep open.

If you select several elements, Style changes apply to all of them.

Layout​

Choose a Display: block, flex, grid or none. The options below change with it:

  • Block: Overflow and Float (with Clear when floating).
  • Flex: Direction, Justify, Align, Wrap and Gap.
  • Grid: Columns, Rows and Gap.
Layout section set to Flex with Direction, Justify, Align, Wrap and Gap

Position sets static, relative, absolute, fixed or sticky. Every position except static adds a box with the element's top, right, bottom and left offsets. A side you haven't set shows auto. The box works like the spacing box: drag a number, click it to type, or step it with the arrow keys. Offsets can go below zero, and you can type a percentage like 50%. Switching to static clears them.

Layout section with Position set to Absolute and a box with the top, right, bottom and left offsets

Size​

Use Dimensions to switch between width and height. Set Width, Min Width and Max Width (or the height versions) from presets like Auto, Full, Screen and fractions, or type your own value: a plain number means pixels, and you can also type 50%, 20rem or calc(). A value that isn't a size isn't saved, and the field goes back to what it was. Overflow controls what happens when content doesn't fit.

Size section with Dimensions, Width, Min Width and Max Width

Spacing​

The box shows Margin (space outside the element) around Padding (space inside it), with each side's value in pixels.

Spacing box with the margin around the padding and a number on each side
  • Drag a number up or down to change it. The page shows the change while you drag and saves it when you let go. Press Esc before letting go to cancel.
  • Hold ⌥ / Alt while dragging to change the opposite side too, or ⇧ / Shift to change all four sides. Hold ⌘ / Ctrl to move one pixel at a time instead of along the spacing steps.
  • Click a number to type a value in the field below the box, or pick one from its list. A plain number means pixels, and you can type other units like 1.5rem. Margins also take auto and values below zero.
  • With a number focused, the up and down arrow keys step it. Enter opens its field.
  • Reset clears the element's padding and margin. The classes the box wrote are listed beside it.

Typography​

Family, Size, Weight, Height (line height), Spacing (letter spacing), Color, Align, Style (italic), Transform (uppercase, lowercase, capitalize) and Decoration (underline, strikethrough).

Typography section with Family, Size, Weight and the text style buttons

Background, border and more​

  • Background: pick Color or Image as the type. The color picker does solid colors and gradients. An image has Position, Size, Repeat and Attach settings.
  • Border: Color, Width, Radius (all corners or each corner), Style (solid, dashed, dotted) and Outline, for all sides or one side.
  • Effects: Opacity, Shadow and its color, Blur, Brightness, Contrast, Saturate, Hue and a Filter (grayscale, sepia, invert).
  • Transitions: Property, Duration, Timing and Delay, so changes like hover effects animate smoothly.
  • Cursor: the pointer shape over the element.
  • Advanced: any other style classes on the element. Type a class and press Enter to add it, or remove one from the list.

Properties tab​

The Properties tab holds the element's content and settings. Every element has General and Accessibility, followed by sections for its type.

Properties tab for a heading with General, Accessibility and Text
  • General: the Element tag (for example, change an h2 to an h3), ID, Tooltip and Data attributes. Click Add attribute to add one.
  • Accessibility: Label, Described, Role, Tab Index and Visibility for screen readers.

Sections for specific elements include:

SectionWhat you can set
TextThe text itself, plus font, size, weight, alignment, line height, letter spacing and color. AI Improve rewrites the text for you.
ButtonLabel, Type (Button, Submit, Reset), Disabled, Name, Value
LinkURL, Open In (Same Tab, New Tab), Relation, Download
ImageSource, Alt Text (leave empty for a decorative image), Loading
InputType, Name, Placeholder, Value, limits like Min, Max, Max Length and Pattern, and Required, Disabled, Read Only
SVGIcon, Width, Height, Fill, Stroke, Stroke Width

Textareas, selects, forms, lists, tables, videos, audio and background images have their own sections too, and so do YouTube, Vimeo, Google Maps, Calendly, Typeform, Stripe and PayPal embeds.

Text that comes from code​

Some text on a page isn't typed into the page directly. It comes from a list, a prop or a data file, like the title of one card in a row of cards. The Text section tells you when that's the case:

  • This text comes from data or a prop. Saving updates it there. Type as usual. Only this item's value changes, where it's defined.
  • Shared by every item in this list. Text in {braces} is code. A change here changes every item. Leave the parts in braces as they are.
  • Set by code followed by the code. The text is worked out by code, so the field is read-only. Ask the AI to change it.
  • Contains nested elements. Select them to edit separately. Click the inner element on the canvas to edit its text.

Copy and paste styles​

Copy one element's style and apply it to another:

  1. Select the element you like and press ⌘⌥C / Ctrl+Alt+C.
  2. Select the element to change and press ⌘⌥V / Ctrl+Alt+V.

Copy Style and Paste Style are also in the right-click menu.

While the AI is working​

The panel shows AI is editing and pauses its controls while the AI changes your site. It unlocks the moment the AI finishes.