A camera module includes a base, a circuit board bearing the base, and a metal plate bearing the circuit board and the base. The base includes a receiving portion and a bearing portion. The bearing portion surrounds the receiving portion. The bearing portion defines a cutout to receive an electronic component of the circuit board.