Wrap Components with a Layout
Group components by wrapping them with a horizontal, vertical, or flex layout.
To group components, wrap them with a layout. Copilot creates the layout and moves the components into it, in the view and in the code.
Put the first and last name side by side
-
Select the components to wrap: click the first, then Ctrl-click the others (
⌘-click on macOS). -
Open the menu, point at Wrap with, and choose a layout, here Horizontal Layout. The new layout takes their place in the form, with both fields in it.