Measure all ingredients into a jar or small bowl. Shake or whisk until incorporated. Taste and adjust as desired.
Place the shredded cabbage, onions, and cilantro into a large bowl. Pour as much dressing as desired over the slaw and toss to incorporate.
Sprinkle with coconut shreds and pineapple chunks if using.
Store the remaining dressing (if any) in a jar in the fridge.