Electronic devices are provided with ejectable component assemblies that can be substantially flush with the external surfaces of the housings of the devices, despite variations in their manufacture. The ejectable component assemblies may include connectors coupled to circuit boards of the devices, and trays that can be loaded with removable modules, inserted through openings in the housings of the devices, and into the connectors for functionally aligning the removable modules with the circuit boards. The ejectable component assemblies may also include ejectors coupled to the housings of the devices for ejecting the trays from the connectors and, thus, from the devices themselves.