In this article, a tiny design of antenna array with ultra-wideband (UWB) function is projected for fifth-generation mobile wireless communications. The array is composed of eight compact modified dipole antenna radiators with directors that have been positioned in a linear form on the top frame of the smartphone mainboard. The functional frequency band of the design expands from 23 to 37.5 GHz, providing more than 14 GHz impedance bandwidth. A Rogers RT5880 dielectric with 0.8 mm thickness, 2.2 dielectric constant, and 0.0009 loss tangent is applied as the design substrate. Important characteristics of the proposed phased array antenna are studied and good results have been acquired. In addition, the array performance in the existence of user-hand is discussed.