# add slot

Learn how to add a slot to your project.

This command adds one or more [slots](/explanation/slot) to your project, [regenerating type definitions](/reference/cli/type-generation) and [downloading fallback content](/reference/cli/fallback-content) accordingly.

## Usage

This command has the following syntax:

```sh
croct add slot <slots> <options>
```

## Example

Add a slot interactively:

```sh
croct add slot
```

Add a specific slot:

```sh
croct add slot hero-banner
```

Add multiple slots at once:

```sh
croct add slot hero-banner sidebar-cta
```

Add a slot at a specific version:

```sh
croct add slot hero-banner@1
```

## Arguments

- `slots`: `Array<string>` (optional)

  One or more slots to add, separated by spaces.

  You can specify a version for each slot using the `@` symbol, for example `hero-banner@1`. If omitted, the CLI prompts you to select slots interactively.

## Options

Besides the [global options](../global-options), this command accepts the following options:

- `--example, -e`: `boolean` (optional)

  Generate an implementation example.

## Explore

- [Type generation](/reference/cli/type-generation): Learn how the CLI generates type definitions.
- [Fallback content](/reference/cli/fallback-content): Learn how the CLI manages fallback content.
- [Remove slot](/reference/cli/commands/remove-slot): Learn how to remove a slot from your project.
- [Upgrade](/reference/cli/commands/upgrade): Learn how to upgrade components and slots.
