Eggs are rich in vitamin B12, which is crucial for maintaining healthy hair.