"The buttons are small."
Translation:Die Knöpfe sind klein.
(der) Knopf is a masculine noun.
Here, you have the word in plural nominative for which the article is die.
Plural words always go to "Die" The gender of the word Knopf is Der. So der Knopf - Die Knöpfen The button - the buttons.