The origin of the disk and spheroid of galaxies is a key open question in understanding their morphologies and evolutions. Using numerical simulations, we can explore kinematically decomposed disk and spheroidal components in detail. I will show some recent works and my preliminary work on this topic.