Open-source Magento 2 frontend

Hyvä Theme for Magento 2

Hyvä is a lean Magento 2 theme that swaps the heavy Luma stack for Tailwind CSS and Alpine.js. Free and open source since November 2025, it delivers far lighter pages. This site explains how it works and how to install it.

  • OSL 3.0 + AFL 3.0
  • Magento 2.4.4+
  • PHP 8.1 – 8.4
  • Tailwind CSS + Alpine.js
Laptop and phone on a wooden desk showing a fast Magento storefront built with Hyvä
About 5 requests per page
Overview

What Is Hyvä?

Hyvä, styled Hyvä by its makers, is a frontend theme for Magento Open Source and Adobe Commerce. It answers a long-standing complaint: the default Luma theme ships so much JavaScript and CSS that pages load slowly, particularly on mobile.

Instead of bolting on a separate headless application, Hyvä keeps Magento's own PHP templates and layout XML. It removes RequireJS, Knockout.js and jQuery from the storefront and uses Alpine.js for interaction and Tailwind CSS for styling.

The result is still an ordinary Magento theme, yet it sends far fewer files to the browser. Developers keep working with familiar templates, and shoppers receive lighter pages.

For its first five years Hyvä was sold under a paid licence. In November 2025 its makers relicensed the core theme as open source, which means any merchant, agency or freelancer can now use it, study the code and adapt it to a particular store at no cost.

98%fewer requests than Luma (230 to 5)
86%lighter pages (3 MB to 0.4 MB)
1,680+compatible extensions
6,500+live stores

Figures published by Hyvä Themes B.V. for default installations.

Features

Key Features of Hyvä

Six design choices explain most of the difference you notice after switching from Luma. Together they reduce the work the browser has to do before a shopper can read, tap and buy.

Tailwind CSS styling

Utility classes compile into one purged stylesheet, so each page receives only the CSS it actually uses. Brand colours and fonts live in shared design tokens.

Alpine.js interactivity

Small reactive components sit directly in templates, replacing Knockout UI components and jQuery widgets. Menus, galleries and the mini cart all use them.

Native Magento templates

Layout XML and .phtml files work as before. There is no separate frontend application to host, and full-page caching behaves exactly as it does today.

Open-source licence

Since 10 November 2025 the core theme has been dual-licensed under OSL 3.0 and AFL 3.0, like Magento Open Source. Free Composer keys replace the old paid licence.

Luma fallback

Routes that are not yet converted, often the checkout, can keep rendering with Luma while the rest of the store moves. This allows a gradual, lower-risk migration.

CSP-ready variant

A separate theme package supports a strict Content Security Policy without relying on unsafe inline scripts, which helps with payment-page security rules.

Comparison

Hyvä vs Luma at a Glance

Both themes run on the same Magento backend. The difference lies in what reaches the shopper's browser.

AspectLumaHyvä
JavaScript stackRequireJS, Knockout.js, jQueryAlpine.js
CSS approachLess, compiled by MagentoTailwind CSS, compiled with Node.js
Requests per pageAbout 230About 5
Page weightAbout 3 MBAbout 0.4 MB
RenderingServer, then heavy client-side setupServer, light client-side setup
CustomisationLess variables and Knockout templatesTailwind tokens and Alpine components
Licence costFreeFree since November 2025
Extension supportAlmost universalNeeds compatible modules or fallback

Luma keeps one real advantage: nearly every extension supports it out of the box. Before migrating, audit your modules. Our compatibility checklist shows how. The vendor figures above come from default installations; images, hosting and third-party scripts will shape the numbers on your own store.

Before you start

System Requirements

Hyvä adds little to Magento's own requirements, but it does expect a recent Magento patch release. Stores on an older 2.4 version should update Magento first.

Build the Tailwind stylesheet on a development or staging machine and deploy the compiled CSS. Production servers do not need Node.js.

Everything else, including the database, OpenSearch, Redis and Varnish, follows Magento's own system requirements for your chosen release. A host that already runs Magento 2.4 well will run Hyvä well.

Read the full requirements guide

  • Magento 2.4.4-p9, 2.4.5-p8, 2.4.6-p7, 2.4.7-p1 or laterMagento Open Source or Adobe Commerce.
  • PHP 8.1, 8.2, 8.3 or 8.4PHP 7.4 is no longer supported; support for 8.1 is due to end in 2027.
  • Node.js 20 or laterNeeded only on the machine that compiles Tailwind CSS, not on production.
  • Composer 2 with shell accessUsed to install the theme and keep its modules up to date.
  • A free Hyvä Packagist keyIssued through the Hyvä Portal; the public GitHub repositories are an alternative.
Installation

How to Install Hyvä

Six steps take a Magento 2 store from Luma to Hyvä. Try them on a staging copy first, with a recent database backup to hand.

  1. Step 1

    Create an account

    Register at hyva.io and open the Hyvä Portal, where licence keys, Composer credentials and installation notes are kept together.

  2. Step 2

    Request a free key

    Generate a free theme key for your store's domain. Individual accounts can create up to five keys, which covers most projects.

  3. Step 3

    Add the repository

    Run composer config with your token and project URL to register the private repository. Keep auth.json out of public repositories.

  4. Step 4

    Require the theme

    Run composer require hyva-themes/magento2-default-theme. The theme module and other dependencies install automatically.

  5. Step 5

    Run setup

    Disable Magento's JavaScript and CSS bundling, run setup:upgrade, then compile and deploy static content in production mode.

  6. Step 6

    Activate it

    Choose hyva/default under Content > Design > Configuration, save, flush the cache and review the storefront.

# add your free key, then install
$ composer config --auth http-basic.hyva-themes.repo.packagist.com token YOUR_TOKEN
$ composer config repositories.private-packagist composer https://hyva-themes.repo.packagist.com/YOUR_PROJECT_NAME/
$ composer require hyva-themes/magento2-default-theme
$ bin/magento setup:upgrade && bin/magento cache:flush

After activation, click through the home page, a category, a product, the cart and the checkout on both desktop and mobile. Any page that looks unstyled usually points to an extension that still needs a compatibility module. The full installation guide lists every command and optional module.

Download

Download Hyvä

Get the default theme source as a ZIP archive, taken directly from the official GitHub repository. It is ideal for reading the templates and Tailwind setup offline.

The archive contains the templates, layout files, Tailwind workspace and translation files of the hyva/default theme. It does not include the supporting modules, which Composer adds during installation.

For a live store, install through Composer instead, so dependencies and future updates are handled for you.

  • magento2-default-theme-main.zip
  • Source: GitHub, main branch
  • Licence: OSL 3.0 / AFL 3.0
  • Requires Magento 2.4.4 or later
Hyvä Default Theme Download Hyvä ZIP Free · Open source · No sign-up
Conclusion

Is Hyvä Right for Your Store?

Hyvä gives Magento stores a much lighter frontend without abandoning Magento's own rendering model. Its move to an open-source licence removes the cost barrier that once kept smaller merchants on Luma.

The real work in any migration lies in extension compatibility and custom templates, so audit those first. If your store meets the requirements, install the theme on a staging copy, measure the difference and launch once every key journey has been tested.

For a store that is already fast and stable on Luma, there is no urgency. For a store planning a redesign, or one losing mobile shoppers to slow pages, Hyvä is now the most practical frontend option in the Magento ecosystem, and its cost is limited to the development time itself.

FAQ

Frequently Asked Questions

Short answers to the questions merchants and developers ask most often. Select a question to see its answer.

Yes. Since 10 November 2025 the core theme has been released under the OSL 3.0 and AFL 3.0 licences, so there is no licence fee. You can use it on as many stores as you like. Hyvä UI, Hyvä Checkout and Hyvä Enterprise remain paid products, but none of them is required.

Magento Open Source and Adobe Commerce 2.4.4-p9, 2.4.5-p8, 2.4.6-p7, 2.4.7-p1 or any later release, running on PHP 8.1 to 8.4.

No. Node.js 20 or later is needed only to compile the Tailwind stylesheet. Build it on a development machine or in CI, then deploy the generated file. This keeps production servers lean and avoids running build tools where shoppers are served.

Backend-only modules work unchanged. Modules with frontend features need a Hyva-compatible version, a compatibility module or the Luma fallback. More than 1,680 extensions are already listed as compatible.

Yes. The Luma checkout module lets the default checkout render with Luma while every other page uses Hyvä. Hyvä Checkout is a paid alternative.

No. It is a conventional Magento theme rendered on the server with PHP templates, so there is no separate frontend application to run.

The ZIP archive is useful for reviewing the code offline. For a real store, Composer installs the theme with all its modules and makes updates straightforward.

Create a child theme that declares Hyva/default as its parent, copy the Tailwind workspace into it and override only the templates you need. Keeping overrides to a minimum makes future updates far easier to review.

It depends on the number of custom templates and frontend extensions. A store close to the default design with few extensions can move in a matter of weeks; a heavily customised store with many modules will take considerably longer.

Faster pages help Core Web Vitals, which form part of Google's page experience signals. Content quality, site structure and links still carry far more weight.