> Markdown version of [Add Components from the UI Library](https://vaadin.com/docs/next/tools/copilot/features/ui-library). Section index: [llms.txt](https://vaadin.com/docs/next/tools/llms.txt)

# Add Components from the UI Library

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.

   [![Your browser does not support the video tag.](../../../vaadin/videos/copilot/ui-library/01-open.jpg)](../../../vaadin/videos/copilot/ui-library/01-open.mp4)

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

   [![Your browser does not support the video tag.](../../../vaadin/videos/copilot/ui-library/02-search.jpg)](../../../vaadin/videos/copilot/ui-library/02-search.mp4)

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.

   [![Your browser does not support the video tag.](../../../vaadin/videos/copilot/ui-library/03-drag.jpg)](../../../vaadin/videos/copilot/ui-library/03-drag.mp4)

## <a id="arrange-the-library"></a>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.
