Preheat the oven to 350°F (175°C).
Grease a baking dish with the unsalted butter.
In a mixing bowl, combine the shredded coconut, coconut milk, sugar, eggs, vanilla extract, and salt. Mix well until combined.
In a separate bowl, whisk together the all-purpose flour and baking powder.
Gradually add the dry ingredients to the wet mixture, stirring until smooth.
Pour the batter into the prepared baking dish.
Bake in the preheated oven for 30-35 minutes, or until the top is golden brown and a toothpick inserted in the center comes out clean.
Remove from the oven and let it cool before serving. Enjoy!