# Units

> Define and organize the physical electrical points in your project.

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

![SocketPlan unit editor showing a three-module electrical unit](/showcase/en-unit-light.png)

## What are units

A unit represents a physical electrical point or wall installation. Think
like a wall switch box, sockets, central panel, etc.

## Managing units

### Creating units

To create a unit you can:

* use the `+` button in the units section of the main project sidebar,
* use the `New unit` call-to-action button of the units section empty state,
* open a unit group's actions menu and choose `New unit in this group` to
  create it directly inside that group,
* use the plan's `Create unit` tool (see [Adding units to a
  plan](/docs/projects/plans#adding-units-to-a-plan)).

When the installation preset offers more than one unit type, the creation menu
lets you choose the appropriate role and assembly system.

### Reordering units

To reorder units, drag their sidebar items and drop them to the desired
position, or use the `Move up`/`Move down` context menu actions.

### Grouping and ungrouping units

As projects grow in size, the list of units can become hard to manage. Unit
groups help you keep things organized by splitting them into meaningful
categories. Groups can represent whatever makes sense for your project:
rooms, circuits, areas, or any other logical division.

To group units, use the `Move to group` context menu action, selecting an
existing group, or `Create new group` to create a new one. Groups are shown
first, before ungrouped units, and can be reordered, renamed and deleted like
units (drag and drop, context menu actions).

You can also drag units between groups. Drop a grouped unit in the ungrouped
area to remove it from its group. Deleting a group does not delete its units;
they become ungrouped.

Use the two expand and collapse buttons at the top of the units section in
the main project sidebar to quickly open or close all groups.

### Adding and removing units to plans

See [Adding units to a plan](/docs/projects/plans#adding-units-to-a-plan)
for more information on how to add or remove units to/from plans.

While a plan is open, each unit's sidebar menu also shows `Add to this plan`
or `Remove from this plan`. Use `Show in plans` to toggle several plans or
the eye button beside an enabled plan to open it and reveal the unit.

### Duplicating units

When units share a similar setup, you don't need to recreate them from
scratch. Use the `Duplicate` context menu action to copy a unit and all its
contents into a new one.

### Deleting units

Delete units from the `Delete` menu action. After confirmation, the unit and
its components are removed from the project and from every plan.