Gently melt the coconut oil in a small saucepan over low heat until just liquid and fragrant, about 1-2 minutes.
Add the shredded coconut to the melted coconut oil, stirring well until every strand is coated with the warm oil and fragrant, about 2 minutes.
Pour in the honey and vanilla extract, then stir briskly until the mixture becomes sticky, fragrant, and well combined.
Transfer the mixture into a parchment-lined square pan. Use a spatula or your hands to press it firmly and evenly into the pan, ensuring it’s compact and smooth on top.
Sprinkle a pinch of sea salt over the mixture if desired, then place the pan in the fridge for at least 2 hours, or until the bars are firm and set.
Once set, lift the coconut mixture out of the pan using the parchment paper, and transfer to a cutting board.
Use a sharp knife or pastry cutter to cut into bars or squares of your preferred size, wiping the blade between cuts for clean edges.
Arrange the bars on a serving plate, and enjoy immediately or store in an airtight container in the fridge for up to a week for optimal freshness and chewy texture.