How to use containers to create carousels, fixed sidebars and elements

 

If you want to add more advanced interactions to your prototypes such as carousels and fixed sidebars, you’ll love containers!

Containers are a type of area you can draw over the top of your design that allows the image within the container to scroll in any direction, allowing the user to cycle through whatever content you choose.

This gives you the ability to create:

  • Carousels
  • Fixed, scrolling sidebars
  • Floating elements that remain static while the rest of the page scrolls
  • Bi-directional scrolling on elements such as an image of a map
  • ...and much much more!

 

How to create a container

  1. Upload the image you would like to add to your container and add it to your project
  2. Select the image in your project where you would like to place the container
  3. Click and drag anywhere on the image to draw a new hotspot
  4. Click Container from the bottom menu
  5. Select the image that you uploaded 
  6. Change any of the options and then hit Close
  7. Click Play to try it out!

 

Options

You can set up your container to achieve several different interactions, whether that's a carousel or sidebar. Let's go through each one:

Artboard.png

 

Behavior

You can control the way your container moves when scrolled by changing the behaviour setting to Normal or Page.

  • Normal - This allows the container to scrolled in a fluid way
  • Page - This will snap the contents of the container to the size of the hotspot when it moves, giving you the effect of pagination.

Direction

The option allows you to set which way you want the container to scroll on a desktop or mobile device.

  • Horizontal - this allows the container to be scrolled or swiped left and right
  • Vertical - This allows the container to be scrolled or swiped up and down
  • Bi-directional - This allows the container to be scrolled or swiped in any direction (great for maps!)

Scrollbars 

Switching this on will display a scrollbar on your container.

 

Fixed position

Switching this on keeps the container in a fixed position on the screen whilst the rest of the page scrolls. Great for floating buttons and tooltips.

 

 

How to create a fixed sidebar

Containers lets you quickly create a fixed sidebar for navigation on either mobile or web, in just a few clicks. Check out the video or follow the steps below:

  1. Create or upload your fixed sidebar as a separate image in your project. Make sure it is longer than the image you are placing it on so it scrolls.
  2. Draw a hotspot over the area where you would like the fixed sidebar to appear
  3. Select the separate sidebar image as the Hotspot destination
  4. Select Container
  5. In the container options, select Vertical scrolling 
  6. Switch on Fixed position
  7. Click Play
  8. You can now scroll your fixed sidebar independently of the background

Remember you can also add hotspots onto the container to link to other screens.

 

How to create a scrolling carousel

Carousels are one of the most popular ways to use containers, especially for commerce prototypes. It's super simple to get started. Check out the video or follow the steps below:

  1. Create or upload your carousel as a separate image in your project. Make sure it is taller or wider than the image you are placing it on so it scrolls.
  2. Draw a hotspot over the area where you would like the carousel to appear
  3. Select the separate carousel image that you created or uploaded as the Hotspot destination
  4. Select Container
  5. In the container options, select Horizontal scrolling 
  6. Click Play
  7. You can now scroll your container horizontally, creating a carousel

 

How to create fixed floating elements

Containers also work great for things like floating action buttons, tooltips and notifications, or any other element that needs to be fixed while the rest of the page scrolls.

  1. Create or upload your fixed element as a separate image in your project
  2. Draw a hotspot over the area where you would like the floating fixed element to appear. If you're prototyping for mobile, make sure it's placed above the fold.
  3. Select the element that you created or uploaded as the Hotspot destination
  4. Select Container
  5. In the container options, switch off Scrollable
  6. Click Play
  7. You can now scroll your prototype, the element will remain static
Was this article helpful?
3 out of 5 found this helpful