How to get list of all knockout components from the pages in Magento?

You can get a list of all the used knockout components on the current page using uiRegistry.

Knockout Components will be defined using the custom module and Magento native code contains a lot of predefined knockout components like minicart, authentication, customer, etc…

You can also fetch a custom component by its name in the get() method of the uiRegistry object.