> Markdown version of [Select Components](https://vaadin.com/docs/next/tools/copilot/features/select). Section index: [llms.txt](https://vaadin.com/docs/next/tools/llms.txt)

# Select Components

Most of what you do in Edit mode starts with a selection: one component, the layout around it, or several at once.

Select a component, its layout, and its neighbors

1. In **Edit** mode, click a component to select it. Its badge names the component type, here a button, and has the tools for it.

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

2. To select the layout around it, right-click and choose **Select** › **Parent**. The badge now names the HorizontalLayout that holds both buttons.

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

3. The arrow keys move the selection without the menu. `↓` selects the first component inside a layout, then the next one, here Cancel. `↑` goes back, and `←` selects the parent.

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

4. To select several components, click the first and `Ctrl`-click the others (`⌘`-click on macOS). Each gets a badge, with the tools that work on all of them.

   [![Your browser does not support the video tag.](../../../vaadin/videos/copilot/select/04-several.jpg)](../../../vaadin/videos/copilot/select/04-several.mp4)

## <a id="keyboard-shortcuts"></a>Keyboard Shortcuts

| Key | Selects                                                         |
| --- | --------------------------------------------------------------- |
| `←` | The parent of the selected component.                           |
| `↓` | The first component inside the selected one, then the next one. |
| `↑` | The component before the selected one.                          |
