Mangrove habitats are important coastal ecosystems linked to biodiversity, resilience and livelihoods.