# Components

> Configure the elements that compose each unit.

Source: https://socketplan.com/docs/projects/components

![A component preset being dragged over an empty highlighted frame slot](/showcase/en-unit-editor-drag-light.png)

## What are components

Components are the configurable pieces inside a unit. Common examples
include switch modules, outlet receptacles, dimmer controls, and frame
assemblies.

### Creating components

To add a component to a unit, use the component presets palette in the units
right sidebar. You can browse presets by category, search by name, or pick
from the recent section. Click a preset to add it directly, or drag it onto
the unit canvas to place it in a specific position.

### Moving components

Some components support child elements with specific positioning, such as
modules inside a frame. In these cases, reordering is available through
context menu actions (shifting left or right) or drag and drop.

### Overriding a component's product

When the project has compatible catalogs enabled, open a component's actions
menu and choose `Override product` to assign that specific component a
product from any enabled catalog. A badge marks the override in the editor.

This is the most specific product choice: it takes precedence over project and
unit catalog preferences and product selections. Choose `Clear override` from
the same menu to return to the inherited choice. See [Bill of
materials](/docs/projects/bill-of-materials#how-product-choices-are-inherited)
for the full selection order.

### Deleting components

To delete a component, open its context menu and select the delete action. If
the component has children, you will be prompted to confirm before they are
all removed.