In component and deployment diagrams, a component is a distributable unit of implementation in a system. For example, a component can represent a physical module of code (source, binary, or executable) or a business document in a human system.
In a deployment diagram, a component instance represents an implementation unit that has identity at run time and can contain objects. A node instance can contain a component.
Learn why a Component shape has red error marking
Right-click the shape, and then click Display Semantic Errors. Read the error message selected in the Errors tab of the Output window.
Name a Component shape and add other property values
Open the element's UML Properties dialog box by double-clicking the icon that represents the element in the tree view or the shape that represents the element in a diagram.
Control which property values display on a shape in a diagram by right-clicking the shape, and then clicking Shape Display Options. In the UML Shape Display Options dialog box, select and clear options to display or hide property values.
Control which property values are displayed on the Component shape
Right-click the shape, click Shape Display Options, and then select or clear options to show or hide values.
Create a diagram owned by the Component shape
Right-click the shape, click Diagrams, click New, choose the type of diagram you want, and then click OK.
Navigate to other views of the Component shape
Right-click the shape, click Views, select the view you want, and then click OK.