text=A component diagram is a UML diagram that provides a view of the physical software components in a software system, their interfaces, and their dependencies. Components are physical, replaceable parts of a system, such as executables, libraries, software components (for example, ActiveX or JavaBean components), documents, databases, and files. A component diagram can depict all or some of the components in a system. Component diagrams can contain shapes that represent components, interfaces, and relationships (dependencies, generalizations, associations, and realizations).