Line your square pan with parchment paper, leaving some overhang for easy removal.
In a microwave-safe bowl, combine toasted shredded coconut, dark chocolate chips, and sweetened condensed milk.
Microwave the mixture in 30-second bursts, stirring well each time, until everything is melted and glossy, about 1-2 minutes total.
Add butter or coconut oil and vanilla extract to the melted mixture, stirring until smooth and shiny.
Pour the mixture into your prepared pan and spread evenly with a spatula, pressing down firmly to compact it.
Sprinkle a pinch of sea salt over the top, pressing lightly to embed it into the surface.
Place the pan in the fridge and chill for at least 2 hours until the mixture is firm and set.
Once chilled, lift out the block using the parchment overhang and place on a cutting board.
Cut into squares or bars with a sharp knife dipped in hot water for clean slices.
Serve immediately or store the bars in an airtight container in the fridge for up to a week. Enjoy the chewy, fudgy texture with a glossy finish!