how to efficiently make a tab bar in Sketch?

So Sketch has symbols. These are great if every instance of the symbol across your various artboards is exactly the same. But what if say you had a tab bar, and on different screens, you wanted to show a different tab highlighted/selected? I’ve been just having the tab bar as an individual element, not a symbol, and manually changing the tabs for each page to show the right tab selected. I feel like there is a better way to do this, as when the client changes their mind about a colour, I’d have to individually change every instance.

Answer

There’s a plugin called state machine that solves your task.
Article: https://medium.com/evil-martians/state-machine-3337b8776b49#.ysgrd1b2e
Plugin Download: https://github.com/romashamin/statemachine-sketch

I don’t know if you’re familiar with sketch plugins. Sketch toolbox is a good way for managing plugins. http://sketchtoolbox.com/

Attribution
Source : Link , Question Author : rjtkoh , Answer Author : Typo

Leave a Comment