Components for buttons and switches