Thank you cards?!

Wasn’t sure how you’re supposed to do thank you cards for baby shower, do I just give them to the people who came, and people who didn’t but sent gifts? Idk how it should be worded if I send it to both. Don’t want to just send something like “thank you for coming” to the people who sent gifts but didn’t come lol