Modularize tab-bar component variables.