A packaged transmit array (TA) antenna is designed for automotive radar applications operating at 77 GHz. The compact dimensions of the proposed configuration make it compatible with standard quad flat no-lead package (QFN) technology. The TA placed inside the package cover is used to focus the field radiated by a feed placed in the same package. The unit cell of the array is composed of two pairs of stacked patches separated by a central ground plane. A planar patch antenna surrounded by a mushroom-type EBG (Electromagnetic Band Gap) structure is used as the primary feed. An analytical approach is employed to evaluate the primary parameters of the suggested TA, including its directivity, gain and spillover efficiency. The final design has been refined using comprehensive full-wave simulations. The simulated gain is 14.2 dBi at 77 GHz, with a half-power beamwidth of 22°. This proposed setup is a strong contender for highly integrated mid-gain applications in the automotive sector.