ERBB2 and breast cancer: In this paper, we have demonstrated a highly sensitive D-shaped polymer optical fiber SPR biosensor for HER2 detection, which features the characteristics of portability, cost-effectiveness, and potential for early detection of breast cancer.