An example of compliment is calling someone's dress beautiful.
Extend my compliments to your parents.
An example of compliment is to tell someone that he is very intelligent.
Send it with our compliments.
Origin of compliment
From American Heritage Dictionary of the English Language, 5th Edition