Let G be a graph and let k 2 be an integer. A {K1,j : 1 S j S k}-factor of G is a spanning subgraph of G, in which each component is isomorphic to a member in {K1,j : 1 S j S k}. In this paper, we first establish a lower bound on the size (resp. the spectral radius) of G to guarantee that G contains a {K1,j : 1 S j S k}-factor. Then we determine an upper bound on the distance spectral radius of G to ensure that G has a {K1,j : 1 S j S k}-factor. Furthermore, we construct some extremal graphs to show all the bounds obtained in this cont...