A novel silver-chalcogenolate cluster-based framework Ag12TPPA·AA with long-lived afterglow was successfully synthesized. It transformed into more densely packed Ag12TPPA·AB and Ag12TPPA·ABC by layer sliding accompanied by macroscopic crystal contraction and changing luminescence.