In this study, we investigate the opto-electromechanical properties, thermodynamic stability, and moisture stability of the Ruddlesden−Popper (RP) two-dimensional perovskites of L 2 PbI 4 (L = PEA, FPEA, BA, and BZA) using density functional theory. The goal is to explore their potential application in metastructures. The results show that the stability of FPEA 2 PbI 4 is better than that of PEA 2 PbI 4 , BA 2 PbI 4 , and BZA 2 PbI 4 due to the replacement of a hydrogen atom with a fluorine atom. On the other hand, BA 2 PbI 4 is more flexible than other materials because it lacks an aromatic ring in its spacer cation, but it is less stable. We introduce a new kind of metastructure composed of an RP perovskite film and conduct an extensive investigation of the quasi-bound states in the continuum (q-BIC) characteristics by near-field analysis and multipole decomposition calculations. The q-BIC resonances in BZA 2 PBI 4 have a greater quality factor due to its larger refractive index in comparison to other materials. Therefore, based on these results, the perovskite materials can be selected for the metastructures from different aspects of stability, flexibility, and refractive index.