I think a Thank You card would be very nice. While it is true that you earned the bonus, the boss was still under no obligation to give you one. I would say to give it to the Boss; after all, s/he is the one who gave you the bonus, and it might be better to keep it between the two of you.