Preparing search index...

    Overview

    The Energy Label is a JavaScript/TypeScript library that helps you create energy labels in SVG format for products sold in the European Union (πŸ‡ͺπŸ‡Ί) and Great Britain (πŸ‡¬πŸ‡§).

    These labels are legally required for many products. While some governments provide APIs (like the UK’s Energy Label API) or offer static assets for download, this library provides a more flexible approach. It includes extra features, runs directly in your application, and can be extended or improved by the developer community.

    Here are some reasons why this library might be a better fit for your project:

    • No external API needed – works fully offline, in the browser or in Node.js.

    • Easy to customize – labels are SVG, so you can change their size, colors, or layout if needed.

    • Fast and lightweight – no need to wait for network requests.

    • Simple to integrate – works well in any JavaScript or TypeScript project.

    • Supports multiple regions – creates labels for both EU and GB formats.

    If you’re building an online store, a product management tool, or just need to generate labels in bulk, this library makes it easy to create accurate, standards-compliant energy labels without additional infrastructure.

    Check the installation steps and the guides for Node.js, the browser, or React to integrate labels into your project.