Wavy letters heading in WordPress
A large heading whose letters hop one after another, like a wave running through it.
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, Titre aux lettres en vague
* Description: Un grand titre dont les lettres sautillent l’une après l’autre, comme une vague qui le traverse. Ajoute la composition « Titre aux lettres en vague » à 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-lettres-vague
*<!-- wp:group {"className": "eflv", "layout": {"type": "default"}} -->
<div class="wp-block-group eflv"><!-- wp:paragraph {"className": "eflv__eyebrow"} -->
<p class="eflv__eyebrow">Librairie-papeterie Le Marque-Page</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level": 2, "className": "eflv__title"} -->
<h2 class="wp-block-heading eflv__title"><span class="eflv__sr">Soldes d’hiver</span>
<span class="eflv__wave" aria-hidden="true"><span class="eflv__word"><span class="eflv__letter">S</span><span class="eflv__letter" style="animation-delay: 0.07s">o</span><span class="eflv__letter" style="animation-delay: 0.14s">l</span><span class="eflv__letter" style="animation-delay: 0.21s">d</span><span class="eflv__letter" style="animation-delay: 0.28s">e</span><span class="eflv__letter" style="animation-delay: 0.35s">s</span></span> <span class="eflv__word"><span class="eflv__letter" style="animation-delay: 0.42s">d</span><span class="eflv__letter" style="animation-delay: 0.49s">’</span><span class="eflv__letter" style="animation-delay: 0.56s">h</span><span class="eflv__letter" style="animation-delay: 0.63s">i</span><span class="eflv__letter" style="animation-delay: 0.7s">v</span><span class="eflv__letter" style="animation-delay: 0.77s">e</span><span class="eflv__letter" style="animation-delay: 0.84s">r</span></span></span></h2>
<!-- /wp:heading -->
<!-- wp:paragraph {"className": "eflv__text"} -->
<p class="eflv__text">Jusqu’à −50 % sur les agendas, carnets, stylos et jeux de société, du 7 janvier au 3 février, en boutique et en ligne.</p>
<!-- /wp:paragraph -->
<!-- wp:html -->:root {
--eflv-text: #1e1b18;
--eflv-body: #57534e;
--eflv-title: #b91c1c;
--eflv-accent: #1e1b18;
--eflv-on-accent: #ffffff;
--demo-effet-lettres-vague-bg: #fdf6ec;
--demo-effet-lettres-vague-text: #1e1b18;
}
@media (prefers-color-scheme: dark) {
:root.forge-follows-system:not([data-theme="light"]) {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