InVision is the nerve center of all our design efforts at Foundry. It allows us to quickly prototype high level concepts for clients at early stages in a project, collect feedback from stakeholders, perform user tests (with the help of the excellent maze.design), and facilitate easy developer handoff using Inspect. That said, InVision has a few shortcomings that remain unaddressed despite having been requested for years.
An increasingly common pattern, fixed sidebars provide easy navigation for data heavy interfaces without taking up vertical real estate. They also translate well to drawer-style menus on mobile. InVision natively supports fixed headers and footers, but there isn't a way to fix a sidebar element. (And if anyone from InVision is reading, can we please get global fixed header and footer distances please!)
At least, there isn't a way using the InVision interface...
The trick is to set your artboards as transparent and then to set the background for your screens in InVision to an image of the fixed sidebar elements. Here's a look at the Sketch file for this particular prototype. Now for the nitty gritty details:
- Duplicate the sidebar elements you want to designate as fixed into their own artboard.
- Set the background color of that artboard to the background color of your screens.
- Export that single artboard as a JPG image. You will not be syncing this artboard to InVision. (Protip: add a minus sign before the artboard name to exclude that artboard from sync when using Craft. For example,
- Hide the sidebar elements you want to designate as fixed in the artboards you are syncing with InVision.
- Remove the background color from those same artboards in Sketch. The screens must be transparent for this hack to work.
- Sync your screens and then open the prototype in InVision.
- Set your the background image to all screens that need a fixed sidebar to the JPG image you exported earlier. After that, be sure to set the alignment of the background image to
You are now the proud owner of a prototype with a fixed sidebar. Should you ever need to update the sidebar, just export the image again and upload it as the background image for those same screens.
Overlay Background Color
If you've ever added an overlay to a screen with a transparent background in InVision, you surely know how strange it is that there is no way to set the background color. Often, it comes out white and who uses a white transparency for modals!? It doesn't have to be that way...
This is going to sound weird, but the color of the background is entirely determined by a single pixel. In particular, the pixel at the bottom right of the screen you are overlaying. You want a dark background? Just add a 1px x 1px rectangle to the bottom right of your overlay.
Now if only I could hack InVision to allow unlimited viewers to use the Inspect feature! Then we’d be in business. Are there any tricks you employ to get InVision (or your prototyping tool of choice) to go the extra mile? Let us know on Twitter.