You can use UI beans from the custom libraries accessible to the module in which you want to use the components. You have to decide whether to specify each library as a single-entry, global or project level. If you will use a UI library in multiple projects, add it to the global libraries. If you have UI classes that will be used in a single project only, add the library to the project libraries for the relevant project.
Refer to the section Configuring Module Dependencies and Libraries for the detailed description of procedure.