This is a decorating technique rather than a recipe. I found the idea here:
You can use whatever you want as the main part of these. Here are the suggestions I offer.
Chocolate chip cook
by Ryan ToysReview
by oziy design
by My little bakery