Two amorphous metal–organic frameworks based on Co( ii ) and heterotopic triangular ligands were constructed. Their structures and iodine and dye adsorption properties were studied. They showed higher dye adsorption capacities than many MOFs even though they lack crystallinity.