Featured with light emission and detection coexistence phenomenon, nitride-based multiple-quantum-well (MQW) diodes integrated chip has been proven to be an attractive structure for application prospects in various fields such as lighting, sensing, optical communication, and other fields. However, most of the recent reports are based on planar structures. Three-dimensional (3D) structures offer extra advantages in direction and polarization and absorption modulation and may start a new way to make the same thing over and over with interesting properties. In this paper, we designed and fabricated a single-cantilever InGaN/GaN MQW diode with warped 3D microstructure via standard microfabrication technology. Experimental results indicate that the strain architecture of the multi-layer materials is the key principle for the self-warped device. The planar structure will bear greater compressive stress while the warped beam part has less stress, resulting in differences in the optical and electrical performance. The strain-induced band bending highly influences the emission and detection properties, while the warped structure will introduce direction selectivity to the 3D device. As an emitter, 3D structures have a directional emission with lower turn-on voltage, higher capacitance, increased luminous intensity, higher external quantum efficiency (EQE), high -3dB bandwidth, and redshifted peak wavelength. Besides, it can serve as an emitter for directional-related optical communication. As a receiver, 3D structures have lower dark-current, higher photocurrent, and red-shifted response spectrum and also show directional dependence. These findings not only deepen the understanding of the working principle of the single-cantilever GaN devices but also provide important references for device performance optimization and new applications in visible light communication (VLC) technology.