There is no formal recipe for this. It’s a lot of “eyeballing-it” until it’s the consistency and texture and sweetness that you want it.
Unsweetened shredded coconut
Some coconut flour
Mix all ingredients in a food processor, using the pulse setting is the best. The more you blend, obviously the more it will turn into a “batter-like” texture. So for some toppings if you want a crumble, use more nuts and less liquid and don’t blend too much. If you want more of a spread/frosting, then add more liquid until desired consistency and blend a bit more until desired consistency.