Disclosed are compounds inhibiting ErbBs (e.g. HER2), pharmaceutically acceptable salts, hydrates, solvates or stereoisomers thereof and pharmaceutical compositions comprising the compounds. The compound and the pharmaceutical composition can effectively treat diseases associated ErbBs (especially HER2), including cancer.本申請公開了抑制ErbB(例如HER2)的化合物,其藥學上可接受的鹽,以及包含所述化合物的藥物組合物。所述化合物和所述藥物組合物可以有效地治療ErbB(特別是HER2)相關疾病,包括癌症。