Self-assembly of cellulose nanocrystals on flexible fabric via a metal coordination strategy for versatile applications