Refactored our visual parallax component for greater layout and content flexibility.
Designer and developer
December 2024 - March 2025
Example PhotoFlow here
Example story with the refactored PhotoFlow component
Project Brief
This is an incredibly popular component for designers. However, it was often being modified and used in a variety of ways — split screen, with multiple text steps, or with quotes and other text-based components flowing over the photo.
The base component was created for one visual to pair with one text step. Myself and another designer saw the need to refactor this component to allow for more flexibility. So we set off to do so, allowing for the most common layouts to be achieved without ever entering the codebase.
Context and research
The most common uses we saw were split screen iterations of the component, and modifications for mobile views. We also wanted to allow for any content to be in what would traditionally be called the “text step” - including photos, videos and graphics.
Component design
Then, we translated these variants into a props table, to understand what could be edited straight in our CMS, so that folks using this component could get pretty high levels of customization without having to enter the codebase. We translated all of these layouts as different variants, so the same component was flexible to many different design needs.
Refinement and development
Through many rounds of code reviews we built out the component in React and Stitches, and tested it out on a few projects to make sure all was working as expected. We also wrote robust documentation for the component, which we refined with feedback from each person who used it.
Final designs
All of these features combined together allows for a huge variety of customization, without ever entering the codebase. Our goal is that it becomes ever easier to produce PhotoFlow based stories on quick deadlines.
Outcomes
Two stories are now live with the new component. Check them out here: