Case Studies

Polestar

Senior developer in Polestar's digital team, helping move its temporary WordPress site onto a Gatsby, React, and TypeScript platform for model pages, configurators, and future growth.

Screenshot of the Polestar website; part of John Kavanagh's selected project work.

In Brief

Based outside Gothenburg, Polestar evolved from a racing and automotive engineering company into a standalone premium electric vehicle brand. As it prepared to launch the Polestar 2, its temporary WordPress site needed to move towards a higherperformance Gatsby, React, and TypeScript platform that could support model pages, configurators, and future digital growth.

My Role

I joined the company as a remote contractor just as they sat on the cusp of launching their first pureelectric car, the Polestar 2. As part of their newly established digital team, we worked to transition their early WordPressbased website to a more modern platform and to set a foundation for future digital initiatives and global market expansion.

Technologies

polestar.com
  1. React
  2. Emotion
  3. TypeScript & JSX
  4. Gatsby & GraphQL
  5. WordPress
Angled photograph of the rear of a limited edition matte gold Polestar 1, with the Polestar logo in the background, and the tail lights lit.

In Detail

Nine years ago, Polestar embarked on a transformative journey, moving away from its origins as a racing and automotive engineering company with close ties to Volvo, and shifting focus towards highquality, premium EVs under the ownership of Geely. As you might imagine, their previous WordPressbased website was no longer befitting of the brand's new image and aspirations.

In the short term, a new WordPress site was launched whilst work began on a new digital presence that would help mirror the brand's Scandinavian heritage and technological innovation. This new site was to be designled, clean and minimalistic (as is the brand's design ethos), and yet highly animated and interactive. Technologically advanced, just like their cars.

At this time, we were deep into the transition from their temporary WordPress setup to a much more advanced and futureproof platform using Gatsby, React, and TypeScript. Using these technologies meant that we were able to produce a highperformance website that could support Polestar's ambitious digital and global goals, whilst also (to start with) integrating seamlessly with their legacy WordPress content source.

The site was built componentbycomponent with Storybook, alongside a carefully considered and detailed design system and patterns, allowing us to build new and different pages whilst also introducing more complex, interactive, and immersive features such as the animateonscroll panels that now feature on every model page. This was a project focused on setting the foundations and digital stage to support the company and website as it continued to develop and grow, accommodating future vehicles and Polestar's evolving narrative.

Since then, Polestar has continued to grow, introducing new vehicles and expanding into new markets. The website has grown and evolved alongside it, building on the digital foundations established during this initial phase of the project.

An Animated, Responsive Experience

Using scroll listeners and the Intersection Observer API, the user is presented with a premium, immersive, and interactive experience as they traverse each page. Every interaction presents more animated imagery of the cars alongside technical specifications and advanced features.

Early in the visitor's journey on polestar.com, they are presented with this draggable model selector which allows them to move through an animated sequence displaying each car in turn.

This was achieved using a rendered sequence of nearly four hundred frames (each highly optimised, averaging less than 70kb each despite being 1920x1080), which neatly allowed for one hundred frames of animation between each model. This sequence of images is mapped into a canvas element on the page, with the displayed frame determined by the user's dragging interaction.

Simple, Intuitive Configurators

Continuing with the minimalist approach, the Polestar model configurators are simple and slick. Featuring prominent imagery, the configurator is powered by a set of prerendered configurations, allowing it to simply switch out the entire set of images as the user selects and changes the available options.

Using fullrender mapping is a departure from the approach used in more conventional vehicle configurators, where different areas of the vehicle are rendered and overlaid individually. What it does is lead to a very quick and intuitive user experience that lends itself well to smallerscreen use as well as larger desktop devices and has demonstrated a very high use and order rate from smaller devices, where order rates are traditionally lower.

Screenshot from the website Polestar 2 configurator, displaying a fully-optioned version of the car in midnight (dark blue). Desktop screen size.Screenshot from the website Polestar 2 configurator, displaying a fully-optioned version of the car in midnight (dark blue). Mobile screen size.

A Library of Reusable Components

One of the benefits of working within a React ecosystem is that it is very straightforward to build selfcontained, reusable components. These are then developed into a Storybook library, allowing their reuse as page 'building blocks' across the Polestar platforms. This approach also means each component is documented, tested, and easy to maintain and iterate upon, as the platform matures.

Screenshot from the Polestar 2 website showing a frame from the scroll-animated spec component. This shows a white Polestar 2 from the rear (with the signature tail lights on) with performance specifications animating on the right-hand side.Screenshot from the Polestar 3 website showing a frame from the scroll-animated spec component. This shows a white Polestar 3 in 3/4 with battery specifications animating on the left-hand side.
Screenshot from the Polestar 2 website showing a frame from the scroll-animated data component. This shows a white Polestar 2 driving away from the viewer on a flat gravel road, with specifications data animating to the right-hand side.Screenshot from the Polestar 3 website showing a frame from the scroll-animated data component. This shows a video of the Polestar 3 sensors identifying buildings, a pedestrian, and another vehicle on the road, with specifications data animating to the left-hand side.

The Outcome

My work with Polestar helped establish the digital foundations for a new generation of its website, as the company prepared to launch the Polestar 2 and expand into new markets. The Gatsby, React, and TypeScript platform provided a reusable foundation for model pages, configurators, and more immersive digital experiences, designed to evolve alongside the brand and its growing range of vehicles.


Want to discuss
a similar project?

If your team needs senior engineering support across architecture, implementation, performance, migration, or search visibility, get in touch.