# WorkspaceComponent

**Kind**: interface | **Module**: [Workspaces](https://docs.interop.io/desktop/reference/javascript/workspaces/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/workspaces/workspacecomponent/index.html

An object describing a workspace definition in a workspace layout.

## Properties

- **`application`** (`string`, optional)
  The name of the workspaces app with which the layout is associated.
  *Available only in **io.Connect Desktop**.*
- **`state`** (`WorkspaceLayoutComponentState`, required)
- **`type`** (`"Workspace"`, required)
  The type of the workspace element.

## Related types

- [Workspace](https://docs.interop.io/desktop/reference/javascript/workspaces/workspace/index.md)
- [WorkspaceLayoutComponentState](https://docs.interop.io/desktop/reference/javascript/workspaces/workspacelayoutcomponentstate/index.md)
