What is the basic principle of Hygrometer

It consist of mechanical device measuring the dimension change of humidity sensitive materials like animal hair, animal membrane , paper etc.