Organic shape image card in WordPress
Cards whose image is cut into a pebble shape by a CSS mask, with a tinted blob behind it, text and a button. No JavaScript, no dependency.
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, Carte à image en forme organique
* Description: Des cartes dont l'image est découpée en forme de galet par un masque CSS, avec un blob coloré en relief, un texte et un bouton. Sans JavaScript ni dépendance. Ajoute la composition « Carte à image en forme organique » à 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-carte-image-forme-organique
*<!-- wp:html -->
<section class="cio" aria-labelledby="cio-titre" data-cio>
<header class="cio__head">
<h2 class="cio__title" id="cio-titre">Nos ateliers de céramique</h2>
<p class="cio__intro">Trois formules à l'atelier de Dieulefit, en petit groupe. Terre, outils et tabliers sont fournis.</p>
</header>
<ul class="cio__list">
<li class="cio-card cio-card--a" data-cio-card>
<div class="cio-card__figure" data-cio-figure>
<div class="cio-card__media" role="img" aria-label="Mains couvertes d'argile qui façonnent un bol sur un tour de potier, vu de dessus" style="background: radial-gradient(circle at 50% 54%, #f1d9bd 0 14%, #c98e63 15% 22%, #e9c3a0 23% 30%, transparent 31%), radial-gradient(circle at 50% 54%, #6f4b3a 0 44%, transparent 45%), radial-gradient(ellipse 30% 22% at 22% 30%, #d9a882 0 60%, transparent 62%), radial-gradient(ellipse 30% 22% at 78% 78%, #d9a882 0 60%, transparent 62%), linear-gradient(160deg, #b9784f, #7c4a33)"></div>
</div>
<div class="cio-card__body">:root {
--cio-text: #2b211b;
--cio-muted: #5c4d42;
--cio-card-bg: #fffaf4;
--cio-line: #eadccd;
--cio-shadow: 0 1px 2px rgb(60 35 20 / 0.06), 0 10px 30px rgb(60 35 20 / 0.07);
--cio-accent: #9a3412;
--cio-blob: #f2c9a5;
--cio-btn-bg: #9a3412;
--cio-btn-hover: #7c2d12;
--cio-btn-text: #ffffff;
--cio-focus: #7c2d12;Free component: copy it freely, including for commercial projects.
Other cards components in WordPress
Cards components in WordPress
A single-plan pricing card: struck-through price and discount, a places-left gauge driven by a data attribute, the list of everything included and a booking button that turns into a waiting list once sold out.
- Tailwind
- React
- CSS
- WordPress

Three treatment cards in accessible neumorphism: gently raised surfaces, buttons that sink in when activated, a light/dark switch for the block itself. 3:1 outlines and AA text kept.
- Tailwind
- React
- CSS
- WordPress

Four fully clickable workshop cards in a neo-brutalist style: thick border, solid offset shadow and a card that sinks onto its shadow on hover or focus. Pastel tones, dark mode, no JavaScript.
- Tailwind
- React
- CSS
- WordPress

Three brutalist service cards: one-pixel border, hard offset shadow that lifts on hover and sinks on click, large type, accent and dark variants. No JavaScript.
- Tailwind
- React
- CSS
- WordPress

Link in bio page
FreeA mobile page to link from your social profiles: portrait, name, priority links (booking, WhatsApp, website, reviews, call), opening hours with an open or closed status, social links and a share button, in dependency-free HTML and CSS.
- Tailwind
- React
- CSS
- WordPress

A seasonal promotion card with a struck-through price and discount that announces by itself whether the offer is coming, how many days are left or that it is over.
- Tailwind
- React
- CSS
- WordPress