2D covalent organic framework (2D-COF), a modular three-dimensional material, is easily influenced by the component module. The assembly of different functionalized modules gives 2D-COF unique performance. The modular structure not only allows for customization but also allows for variety, which gives 2D-COF a wide range of functions. Hence, many building blocks with catalytic, ligand, semiconductor, luminescent, and redox centers are integrated into the COF scaffold. The connection and assembly of such modules determine the nature of the final block material. The intra-layer connections of the modules form a monolayer mesh chemical structure, and the subsequent stacking of the monolayer mesh structure produces the final crystalline porous material-2D-COF. This review describes in detail the potential of COF materials as optoelectronic materials and our understanding of optoelectronic processes, starting from monolayer reticulation chemistry to final 3D stacked structures, thus establishing a new paradigm for the rational design of well-defined novel 2D-COF optoelectronic materials and devices.