A metal-organic framework was constructed from struts in which donor-acceptor [2]catenane units become integrated, leading to a high density of these molecular machinery modules positioned precisely in well-defined layered (2D) structures.