Disclosed is a compound of Formula (I), or a stereoisomer thereof, or a pharmaceutically acceptable salt thereof, and pharmaceutical compositions comprising thereof. Also disclosed is a method of treating PI3Kδ related disorders or diseases by using the compound disclosed herein.