Animated aurora background in WordPress
A hero section set on blurred colour glows that slowly drift, like the northern lights.
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, Fond aurore animé
* Description: Une section d’accroche posée sur des halos colorés flous qui dérivent lentement, comme une aurore boréale. Ajoute la composition « Fond aurore animé » à 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-effet-fond-aurore
*<!-- wp:group {"tagName": "section", "className": "efau", "layout": {"type": "default"}} -->
<section class="wp-block-group efau"><!-- wp:html -->
<div class="efau__aurora" aria-hidden="true">
<span class="efau__blob efau__blob--1"></span>
<span class="efau__blob efau__blob--2"></span>
<span class="efau__blob efau__blob--3"></span>
</div>
<!-- /wp:html -->
<!-- wp:group {"className": "efau__content", "layout": {"type": "default"}} -->
<div class="wp-block-group efau__content"><!-- wp:paragraph {"className": "efau__eyebrow"} -->
<p class="efau__eyebrow">Atelier Lumen · Studio de design</p>
<!-- /wp:paragraph -->:root {
--efau-bg: #fbf8ff;
--efau-text: #1e1b2e;
--efau-body: #474359;
--efau-c1: #c4b5fd;
--efau-c2: #f9a8d4;
--efau-c3: #a5f3fc;
--efau-opacity: 0.75;
--efau-accent: #5b21b6;
--efau-on-accent: #ffffff;
--demo-effet-fond-aurore-bg: #f3f0f9;
--demo-effet-fond-aurore-text: #1e1b2e;Free component: copy it freely, including for commercial projects.
Other visual effects components in WordPress
Visual effects components in WordPress
A large heading whose words turn from grey to ink as the page scrolls, then whose key phrases get a marker stroke, in pure CSS with a readable fallback.
- Tailwind
- React
- CSS
- WordPress

Cards that fade in as they enter the screen, one after another in each row, without a line of JavaScript and with a static fallback.
- Tailwind
- React
- CSS
- WordPress

A translucent card with a saturated blur whose sharper edge refracts the colourful shapes drifting behind it, with an opaque fallback when transparency is reduced.
- Tailwind
- React
- CSS
- WordPress

A help block shaped like a conversation: bubbles, three animated typing dots and clickable quick replies that show your answers to frequent questions, frozen under prefers-reduced-motion.
- Tailwind
- React
- CSS
- WordPress

A paragraph whose words turn from grey to full ink, one by one, as the page scrolls, in pure CSS with a plain-text fallback.
- Tailwind
- React
- CSS
- WordPress

Four offset, translucent sine waves gently roll along the bottom of a section, each at its own pace.
- Tailwind
- React
- CSS
- WordPress