Setting variables in self made components

i have a button component(or smart clip) that i made with a label variable, and i was wondering if it was possible to make it have a variable that made it display a different image for each button. anyone have any ideas?