1. look for components in the project componets folder 2. look for components in the EXTRA_COMPONENTS_DIRS 3. look for components in the idf and if it finds components with the same name, it uses the one's with higher priority, so you could overwrite something without changing idf, or ...