Cut-out shape feature
A split block on peach: a turning sky starburst, a tangerine petal and a sage outline arch around a centred serif headline and navy pill, the picture on the right.
Part of the style
Peach Blob Starburst
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/peach-blob-starburst/feature/figma.html?palette=bc3c15bc00a286f1
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/peach-blob-starburst/feature/figma.html?palette=bc3c15bc00a286f1 and pass that whole HTML document to the html_to_figma tool, so the part "Cut-out shape feature" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--ink: #5e352b;
--ink-soft: #79574f;
--paper: #d5e8e6;
--paper-bright: #d9ecea;
--peach: #ddf1ef;
--mist: #d3e6e4;
--on-navy: #dbeeec;
--veil: rgba(94, 53, 43, 0.5);
--finish-chalk: #d8ebe9;
--navy: #7c6052;
--sky: #fff6f2;
--sage: #fee9db;
--tangerine: #c7a898;
--finish-honey: #bfaea6;
--finish-walnut: #a3958e;
}
</style>
<section class="feature">
<svg class="feature__burst" viewBox="0 0 100 100" aria-hidden="true"><polygon points="50.0,3.8 57.5,19.6 71.8,8.5 71.1,26.2 89.6,22.7 75.7,40.2 94.7,44.6 83.5,54.1 93.3,66.4 73.8,66.4 83.1,87.4 64.3,77.2 61.8,97.8 50.0,80.8 38.5,96.8 36.9,75.0 18.1,86.1 22.1,69.3 5.5,66.9 17.3,54.0 2.0,44.2 24.3,40.2 9.8,22.3 29.0,26.3 28.4,8.8 43.5,23.5"/></svg>
<div class="feature__copy">
<p class="feature__eyebrow feature__item">Meet the Patch Club</p>
<h2 class="feature__title feature__item">Muddy Hands, Happy Plans</h2>
<p class="feature__text feature__item">A box of seeds and one small job a month, chosen for the season and for the size of the person doing it.</p>
<a class="feature__button feature__item" href="#">Join the club</a>
<svg class="feature__petal" viewBox="0 0 90 64" aria-hidden="true"><path d="M8 30C2 16 12 2 24 6c6 2 8 8 10 12 2-8 10-16 20-13 8 3 9 12 7 18 8-4 20-3 24 6 4 10-4 22-18 26-18 6-40 6-52-4C8 47 10 38 8 30z"/></svg>
</div>
<div class="feature__media">
<img class="feature__picture" src="assets/garden-party.jpg" alt="An etching of children playing on a lawn under trees" width="643" height="1000">
</div>
<svg class="feature__arch" viewBox="0 0 320 200" aria-hidden="true"><path d="M14 186C10 100 60 18 150 14c80-4 140 50 154 130l-30 6C260 90 216 52 152 54 88 56 50 110 54 180z" fill="none" stroke-width="7" stroke-linejoin="round"/></svg>
</section>
<style>
.feature {
position: relative;
display: grid;
grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
align-items: center;
gap: var(--space-xl);
padding: var(--space-l) var(--edge);
overflow: hidden;
background: var(--peach);
}
.feature__burst {
position: absolute;
top: 14%;
left: -46px;
width: clamp(120px, 11vw, 160px);
fill: var(--sky);
animation: feature-turn var(--spin) linear infinite;
animation-play-state: paused;
}
.feature.is-live .feature__burst { animation-play-state: running; }
@keyframes feature-turn { to { rotate: 360deg; } }
.feature__copy {
position: relative;
display: grid;
justify-items: center;
gap: var(--space-s);
padding: var(--space-xl) 0;
text-align: center;
}
.feature__eyebrow {
margin: 0;
font-size: 13px;
font-weight: 600;
letter-spacing: var(--tracking-caps);
text-transform: uppercase;
}
.feature__title {
margin: 0;
font-family: var(--font-display);
font-variation-settings: var(--display-soft);
font-size: var(--display-m);
font-weight: var(--display-weight);
letter-spacing: 0;
line-height: 1.15;
text-wrap: balance;
}
.feature__text {
max-width: 30rem;
margin: 0 0 var(--space-s);
font-size: var(--text-m);
line-height: 1.65;
}
.feature__button {
display: inline-flex;
align-items: center;
min-height: 46px;
padding: 0 24px;
border-radius: var(--radius-pill);
background: var(--navy);
color: var(--on-navy);
font-size: var(--text-s);
font-weight: 600;
text-decoration: none;
transition: opacity var(--time) var(--ease);
}
.feature__button:hover { opacity: 0.85; }
.feature__button:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.feature__petal {
width: 86px;
margin-top: var(--space-l);
fill: var(--tangerine);
rotate: -8deg;
}
.feature__media {
position: relative;
z-index: 1;
aspect-ratio: 4 / 3;
overflow: hidden;
background: var(--paper-bright);
}
.feature__picture {
width: 100%;
height: 100%;
object-fit: cover;
object-position: 50% 40%;
scale: 1.35;
mix-blend-mode: multiply;
}
.feature__arch {
position: absolute;
left: calc(45% - 110px);
bottom: 4%;
z-index: 2;
width: clamp(160px, 22vw, 320px);
stroke: var(--sage);
pointer-events: none;
}
.feature__item {
opacity: 0;
translate: 0 16px;
transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease);
transition-delay: calc(var(--order, 0) * 80ms);
}
.feature.is-seen .feature__item { opacity: 1; translate: 0 0; }
@media (max-width: 800px) {
.feature {
grid-template-columns: none;
gap: 0;
padding-top: var(--space-l);
}
.feature__burst { top: var(--space-l); left: -40px; width: 110px; }
.feature__arch { left: auto; right: -30px; bottom: 30%; width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
.feature__burst { animation: none; }
.feature__item { opacity: 1; translate: none; transition: none; }
}
</style>
<script>
(() => {
const seen = new IntersectionObserver((entries) => {
for (const entry of entries) {
if (!entry.isIntersecting) continue;
entry.target.classList.add('is-seen');
seen.unobserve(entry.target);
}
}, { threshold: 0.15 });
const live = new IntersectionObserver((entries) => {
for (const entry of entries) entry.target.classList.toggle('is-live', entry.isIntersecting);
});
for (const root of document.querySelectorAll('.feature')) {
root.querySelectorAll('.feature__item').forEach((item, order) => item.style.setProperty('--order', order));
seen.observe(root);
live.observe(root);
}
})();
</script>