Docs

Documentation versions (currently viewingVaadin 25.4 (pre-release))

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
  1. In Edit mode, click UI Library in the toolbar. The library has sections for layouts, content, input fields, and more.

  2. Type in its search field to find a component, here Checkbox.

  3. 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.

Arrange the Library

The pencil next to the search field opens the library’s settings. Hide the sections that your team doesn’t use, reorder them, or add a section of your own. Copilot saves the settings in the project, in vaadin-copilot.json.