Feature section on an aurora background in WordPress
Six features as frosted glass cards over a slowly drifting aurora mesh gradient. Pause button, still background under prefers-reduced-motion, CSS and a light script.
Here is an excerpt of this component's code in WordPress. The full code is free for members, ready to copy into your project.
This component also comes in
The code in WordPress
<?php
/**
* Plugin Name: Forge, Section de fonctionnalités sur fond aurore
* Description: Six fonctionnalités en cartes de verre dépoli sur un fond en dégradé maillé de type aurore qui dérive lentement. Bouton pause, fond figé sous prefers-reduced-motion, CSS et script léger. Ajoute la composition « Section de fonctionnalités sur fond aurore » à l'éditeur de blocs.
* Version: 1.0.0
* Requires at least: 6.6
* Requires PHP: 8.1
* Author: Forge
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: forge-features-fond-maille-aurore-sections
*<!-- wp:html -->
<section class="fmas" aria-labelledby="fmas-titre" data-fmas>
<div class="fmas__sky" aria-hidden="true">
<span class="fmas__blob fmas__blob--1"></span>
<span class="fmas__blob fmas__blob--2"></span>
<span class="fmas__blob fmas__blob--3"></span>
<span class="fmas__blob fmas__blob--4"></span>
</div>
<div class="fmas__inner">
<div class="fmas__head">
<p class="fmas__eyebrow">Relevé · Facturation pour indépendants</p>
<h2 class="fmas__title" id="fmas-titre">Tout ce qu’il faut pour être payé, rien de plus</h2>(() => {
if (!document.querySelector(".fmas")) return;
for (const root of document.querySelectorAll("[data-fmas]")) {
const button = root.querySelector("[data-fmas-pause]");
const reduced = window.matchMedia("(prefers-reduced-motion: reduce)");
// Nothing moves under reduced motion, so the control would have no effect there.
const sync = () => {
button.hidden = reduced.matches;
};
button.addEventListener("click", () => {
const paused = button.getAttribute("aria-pressed") !== "true";
button.setAttribute("aria-pressed", String(paused));:root {
--fmas-base: #eef0fb;
--fmas-c1: #a5b4fc;
--fmas-c2: #f5b5d8;
--fmas-c3: #8ee6f2;
--fmas-c4: #c9b6fb;
--fmas-blob: 0.85;
--fmas-text: #12142b;
--fmas-muted: #383c5c;
--fmas-accent: #4b2bb8;
--fmas-glass: rgb(255 255 255 / 0.58);
--fmas-glass-solid: rgb(255 255 255 / 0.9);Free component: copy it freely, including for commercial projects.
Other features components in WordPress
Features components in WordPress
Three cards in saturated flat colours (yellow, pink, electric blue) with high-contrast text and a dark variant. Every colour pair is measured at AA: 5.5:1 at worst.
- Tailwind
- React
- CSS
- WordPress

The key message stays pinned while the background changes colour and illustration at each scroll step. CSS sticky, a light script, stacked cards as fallback under prefers-reduced-motion.
- Tailwind
- React
- CSS
- WordPress

A six-cell bento grid: key figures, SVG sparklines, a quote and icons. All the text is in the HTML and the animation is CSS only, with no script at all.
- Tailwind
- React
- CSS
- WordPress

A two-offer table: checked rows, a column highlighted from top to bottom and one call-to-action button per offer. Pure HTML and CSS, no script at all.
- Tailwind
- React
- CSS
- WordPress

A magazine-style article: title band, standfirst, drop cap, subheadings and a pull quote, set in three columns of equal height. Pure CSS, no script at all.
- Tailwind
- React
- CSS
- WordPress

A simulator that estimates the heating bill and the yearly savings in euros from the floor area, current energy and chosen works.
- Tailwind
- React
- CSS
- WordPress