How Do You Do Horizontal Scrolling in Figma?

How Do You Do Horizontal Scrolling in Figma?

Horizontal scrolling is a useful feature that allows you to navigate content horizontally within a container. If you're working with Figma, you might be wondering how to implement horizontal scrolling in your designs. In this tutorial, we'll explore different methods to achieve this effect.

Method 1: Using Auto Layout

Figma's Auto Layout feature simplifies the process of creating responsive designs. To enable horizontal scrolling:

  1. Create a frame or group that will contain your content.
  2. Select the frame or group and enable Auto Layout by clicking on the Auto Layout button in the toolbar or pressing Ctrl + Alt + A.
  3. In the right sidebar, under the Layout section, choose Horizontal scroll from the dropdown menu.
  4. Add elements inside the frame or group, ensuring they are arranged horizontally.

Your content will now be scrollable horizontally within the frame or group.

Method 2: Using a Scroll Container

If you prefer more control over the scrolling behavior, you can use a scroll container:

  1. Create a frame that will act as your scroll container.
  2. Select the frame and go to the right sidebar.
  3. In the properties panel, enable scrolling by checking the box next to Vertical scrolling and/or Horizontal scrolling, depending on your needs.
  4. Add elements inside the scroll container. You can place them side by side for horizontal scrolling.

Your content will now be contained within the scroll container and can be scrolled horizontally as needed.

Method 3: Using Constraints

If you prefer a more manual approach, you can use constraints to achieve horizontal scrolling:

  1. Create a frame that will contain your content.
  2. Ensure that the frame's width is set to the desired size for your content.
  3. Select the elements inside the frame and apply horizontal constraints. You can do this by clicking on the desired element, going to the right sidebar, and setting the constraints under Constraints.
  4. If necessary, adjust the position of the elements within the frame using their x-axis position.

Your content will now be positioned within the frame with horizontal scrolling enabled.

Conclusion

In this tutorial, we explored three different methods to achieve horizontal scrolling in Figma. Whether you prefer using Auto Layout for responsive designs, scroll containers for more control, or manual constraints for precise positioning, Figma provides various options to suit your needs. Experiment with these techniques to create engaging and interactive designs with horizontal scrolling.