Here we provide some examples of UML component diagrams:
    Examples - 图1 Online shopping component diagram
    Purpose: An example of a component diagram for online shopping.
    Summary: The diagram shows “white-box” view of the internal structure of three related subsystems - WebStore, Warehouses, and Accounting. WebStore subsystem contains three components related to online shopping - Search Engine, Shopping Cart, and Authentication. Accounting subsystem provides two interfaces - Manage Orders and Manage Customers. Warehouses subsystem provides two interfaces Search Inventory and Manage Inventory used by other subsystems.
    Examples - 图2

    Examples - 图3 Sentinel HASP licensing components
    Purpose: An example of UML component diagram with some simplified view of provided and implemented components utilizing SafeNet Sentinel HASP Software Licensing Security Solution and Licensing API.
    Summary: License Status application uses License Services Net component through the License Service interface implemented by this component. The License Services Net component uses HASP .Net API provided by HASP .Net Runtime component. License Services Java component uses HASP Java Native Interface Proxy to communicate with HASP Java Native Interface component. When product is used in Microsoft Windows, the HASP Java Native Interface could be manifested by either HASPJava.dll (32 bit OS), HASPJava_x64.dll, or HASPJava_ia64.dll (64 bit OS).
    Examples - 图4
    image.png
    https://www.uml-diagrams.org/component-diagrams-examples.html