This is a Red Mangrove Crab. It is about 150mm (6") wide. What does it eat?

Mangrove leaves. It lives in a hole in the mud and it can detect the vibration caused by one falling leaf. It then runs out and grabs it and takes it back underground