Add Components from the UI Library
Find a component or layout in the UI Library and drag it into your view.
The UI Library has the components and layouts that you can add to a view. Find one, drag it in, and Copilot writes the code that creates and adds it.
Add a checkbox to the form
-
In Edit mode, click UI Library in the toolbar. The library has sections for layouts, content, input fields, and more.
-
Type in its search field to find a component, here Checkbox.
-
Drag it into the view. Drop zones light up as you go: between the form and the buttons, it goes into the view, between the two. Copilot adds it to ContactView.java.