Advertisement


how to efficiently make a tab bar in Sketch?


Question

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.

2016/06/02
1
5
6/2/2016 5:23:00 AM

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/

2016/06/02
4
6/2/2016 11:52:00 AM