Green components: How your design system can aid sustainability goals

Hidde De Vries
Written by Hidde De Vries
Apr 9, 2026

In 2024, the World Bank estimated the internet to account for 1-4% of global greenhouse gas emissions, similar to aviation. “If the internet was a country, it would be the 13th largest emitter between Mexico and Brazil,” says the Sustainable Web Manifesto. 

These numbers may be dazzling, but there is actually a silver lining here: If you work in tech, you have lots of opportunities to help improve the situation at work. 

In this article, we'll look at the Web Sustainability Guidelines and how they apply to the components in your design system.

Meet the Web Sustainability Guidelines

Over the past few years, a group at the W3C has been developing the Web Sustainability Guidelines (WSG). The document, currently in draft state, explains how to make more sustainable digital products. It centers on three main principles: Planet, People, and Prosperity. 

Together, those principles ensure that we don’t just consider the environmental aspects of the planet’s sustainability. They also explicitly balance it with what matters to people – including harm reduction and equal access – and focus on the economic factors that shape global development.

The guidelines are organized into four areas, similar to how many companies are structured:

  • user experience design,
  • web development,
  • hosting, infrastructure, and systems,
  • business strategy and product management

There is plenty you can do within your design system team to improve the sustainability of your organization’s digital products. Not only does this make a positive impact on the world, it also helps with compliance. As sustainability is increasingly part of required corporate reporting (see Laws & Policies), making it a priority in your design system often also supports organizational goals.

However, when using the Web Sustainability Guidelines, make sure to avoid greenwashing: Only make claims that you have evidence for, and be aware that there will always be gaps in the coverage.

At CSS Day 2025, I talked about how we can all make an impact on sustainability at work using the Web Sustainability Guidelines. 

How your design system can help

Many sustainability improvements in digital products involve things outside the scope of the design system: for example, choosing greener hosting (see the Green Web Foundation’s green hosting check), using batch processing when computing stuff on the server, and applying server-side file compression.

And then there’s a whole range of things that matter on a component level. Design systems can make a real impact here. They are ideal for making sustainability documentation easily available and can show the way via published components that can be reused across products. 

Lastly, a design system is a great tool for minimizing duplication: It standardizes specific approaches, and the decision process for what to add to your design system also makes the overlaps obvious.

Measuring sustainability

It isn’t trivial to measure sustainability because the data needed to calculate impact is often missing. Some necessary data is simply not disclosed by vendors. In other cases, our data is incomplete because so many different factors are at play: the products we build (websites and apps), the devices they are used on (your users’ phones, tablets, and laptops), and the infrastructure that delivers them (data centers and the electrical grid).

At the same time, current research and data (like that from the International Energy Agency) point to plenty of areas for optimization. And where measurement is hard, we can estimate instead. There are also useful proxies: Lowering your data center’s electricity bill will lower your impact as well.

I can recommend these two tools for a first check of how you’re doing: 

  • Website Carbon Calculator: rates web pages from A to F, tells you how you compare to others, checks whether your hosting is sustainable, and how much CO2 is produced every time someone visits your page.
  • Ecograder: provides a donut chart of your assets, which is great if you want to see where you can improve, as well as a concrete list of tips that you can get started with.
A screenshot of the Website Carbon Calculator showing a carbon rating of A+ for hidde.blog.

Both are estimate-based, but very useful for your first steps. You can compare your site to competitors and show the results to less technical team members and/or folks motivated to make improvements.

For more exact measurements, there are also tools like the carbon emissions data displayed in Firefox Profiler. 

Green components: 6 practical ideas to start with

So what can you do in components to make them greener?

Click to use

Identify all components that may require a lot of data to be transferred, such as video players, high-resolution photo galleries, or comprehensive maps. 

If the user wants to watch this video or explore a map, great — it may be worth the network hit. But chances are they don’t. Are there ways you could delay the downloading of most data until you are sure the user wants this? A “click to use” button could help here.

Two examples of button interaction: A 'use map' button and a 'play video' button.
You could add a button interaction before your component consumes data.

Lazy-loaded media

In media-related components, make lazy-loading the default for assets such as images and videos (see the Lazy-loading Success Criterion). For images, browsers support loading=”lazy”. 

Optimized fonts

If using custom fonts, consider reducing their file size by subsetting to just the required variants, axes, and character sets. 

If your design system powers a wide range of products globally, you will likely end up needing larger file sizes. System fonts are ideal in this case, as users have them on their system already. For more on fonts, see Guideline 2.13. 

Necessary dependencies

Maybe your dependencies are all tiny, but most codebases still contain large and unnecessary dependencies. Removing them entirely or replacing them with browser-native functionality can lead to significant reductions in file size across all products that consume your design system.

Carbon-aware design 

Greener energy exists, for instance when it comes from solar panels or windmills instead of coal. But the thing with most green energy sources is that availability varies. There is just one power grid, in which the distribution between green and not-green constantly changes. 

On a sunny and windy day, you can expect a much larger share of green energy, for example. We can design digital products that adapt to this “carbon intensity”. Google already does this for media processing, and Apple has this feature for phone charging. What if the consumers of your components could pass in a carbon number as a property that it adapts to? 

Imagine a video component that is capable of switching to lower resolutions or a team member component that renders a video when intensity is low, a picture when it’s medium, and just the person’s name when it’s high? We can even make components work with our natural rhythms.

To make the implementation of this sort of work easier, you can use the Green Web Foundation’s Grid-Aware Websites toolkit and open-source library. 

Three team components, with varying data usage: a 4K video about the team, just the pictures, or just the names.
Three team components, with varying data usage: a 4K video about the team, just the pictures, or just the names.

Saving your users’ CPU and GPU

Did you know that only 15% of emissions for devices like iPhones come from their daily use? In contrast, 81% come from their production (see Apple’s Product Environmental Report for iPhone 14). From a design system team’s perspective, this is why extending your users’ device lifetime is one of the most effective optimizations. 

One way to do that is to reduce their CPU and GPU strain. Make sure your components throttle or debounce when they respond to scroll or resize, use requestAnimationFrame, rely on CSS transforms rather than layout properties for animations, and virtualize large lists.

Bringing sustainability into your design system

In this post, we looked at how you can use some of the Web Sustainability Guidelines to build components that can make your digital products greener. By adding thoughtful changes to your components – from font optimizations to carbon-aware design – you too can encourage carbon reductions from within your design system. 

A design system is a great starting point for teams to create better products in many aspects. It’s about time we add sustainability considerations to that mix. 

A quick note on the numbers: Emissions from aviation are about 2.5% (according to Our world in data). Estimates for IT range from 0.35% (European Commission) to 3.7% (French think tank The Shift Project). The figures vary wildly for various reasons, for example it depends on how each source defines “IT” and which emissions they include.

Hidde De Vries
Hidde De Vries
Hidde is a web standards and accessibility specialist (CPWA). He is involved in W3C groups, including the Open UI CG, Web Sustainability IG, and the Accessibility Guidelines WG. His favorite programming language is CSS, and he strongly believes in a web that puts people first. Hidde writes about these things and more on his blog. In his free time, he works on a coffee table book covering the video conferencing applications of our decade.
Try zeroheight
The design systems platform that keeps teams and agents in sync
Start for free
Share this post