Pulsar
1×

Basin

Busy

One broad depression low on the right, ring after ring stepping out from its floor, the whole set breathing slowly.

“Copy the hero” is the styles and the SVG, carrying the colours and speed you set above. “Copy as a section” adds the wrapper a hero actually needs: the SVG absolute behind the copy, inert to the pointer, and a scrim so the heading holds. The Free licence asks for one visible credit per page: Animation by Pulsar, linked to Pulsar. Licence

Tech
CSS, no JavaScript
Longest band
19 s, mirrored, loops
Canvas
1600 by 900, stretches to fill
Default tone
Dark ground: ground #0b0a16, ink #ffffff
Family
Contour · Lines
Tags
contourringsrelief

The four variables

Set any of these on the section, or on any ancestor, and the hero follows. Nothing else in the file needs editing.

--pulsar-hero-bg
the ground, default #0b0a16
--pulsar-hero-ink
the strokes, default #ffffff
--pulsar-accent
the accented strokes
--pulsar-hero-speed
a rate: 2 is twice as fast, 0.5 half speed

Files

Animated SVG
One file, styles inside it, animates in an img tag or on its own.Download animated SVG
Still
Basin, not animated
Download SVG

The code

As a section

<!-- Pulsar by Business Nebula · "hero-contour-basin" · https://pulsaricons.com | Licence: https://pulsaricons.com/legal/licence | Free-licence credit: Animation by Pulsar, linked to https://pulsaricons.com | Business Nebula: https://businessnebula.com.au -->
<style>
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 5rem 5%;
  color: #ffffff;
  background: #0b0a16;
}
.hero > .pulsar-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* A scrim under the copy, heavier on the side the text sits on. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, #0b0a16 0%, color-mix(in oklab, #0b0a16 78%, transparent) 40%, transparent 68%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}
/* Generated by scripts/hero-contour.mjs from heroes/hero-contour-basin/params.json.
   Consumers set four custom properties on any ancestor:
     --pulsar-hero-bg     the ground          (default #0b0a16)
     --pulsar-hero-ink    the contour rings   (default #ffffff)
     --pulsar-accent      the index rings     (default #8a7df7)
     --pulsar-hero-speed  a rate; 2 is twice as fast, 0.5 half speed */
.pulsar-hero-contour-basin {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--pulsar-hero-ink, #ffffff);
}
.pulsar-hero-contour-basin .hero-contour-basin-ground {
  fill: var(--pulsar-hero-bg, #0b0a16);
}
.pulsar-hero-contour-basin .hero-contour-basin-ring {
  fill: none;
  stroke: currentColor;
}
.pulsar-hero-contour-basin .hero-contour-basin-accent {
  stroke: var(--pulsar-accent, #8a7df7);
}
.pulsar-hero-contour-basin .hero-contour-basin-ground-stop {
  stop-color: var(--pulsar-hero-bg, #0b0a16);
}
.pulsar-hero-contour-basin .hero-contour-basin-band {
  transform-box: view-box;
  will-change: transform;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.pulsar-hero-contour-basin .hero-contour-basin-band-1 {
  transform-origin: 1180px 700px;
  animation-name: hero-contour-basin-band-1;
  animation-duration: calc(19s / var(--pulsar-hero-speed, 1));
}
@keyframes hero-contour-basin-band-1 {
  from {
    transform: translate(-26px, -12px) scale(0.98);
  }
  to {
    transform: translate(26px, 12px) scale(1.02);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pulsar-hero-contour-basin .hero-contour-basin-band-1 {
    animation: none;
  }
}
</style>
<section class="hero">
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="pulsar pulsar-hero pulsar-hero-contour-basin" data-pulsar="hero-contour-basin" preserveAspectRatio="none" viewBox="0 0 1600 900"><metadata><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"><rdf:Description><dc:title>hero-contour-basin</dc:title><dc:creator>Pulsar by Business Nebula</dc:creator><dc:publisher>Business Nebula</dc:publisher><dc:source>https://pulsaricons.com/icons</dc:source><dc:relation>https://businessnebula.com.au</dc:relation><dc:rights>Pulsar licence, https://pulsaricons.com/legal/licence</dc:rights></rdf:Description></rdf:RDF></metadata><defs><linearGradient id="hero-contour-basin-veil" x1="0" x2="1600" y1="0" y2="0" gradientUnits="userSpaceOnUse"><stop class="hero-contour-basin-ground-stop" offset="0" stop-opacity=".88"></stop><stop class="hero-contour-basin-ground-stop" offset=".32" stop-opacity=".5"></stop><stop class="hero-contour-basin-ground-stop" offset=".66" stop-opacity=".1"></stop><stop class="hero-contour-basin-ground-stop" offset="1" stop-opacity="0"></stop></linearGradient></defs><rect width="1600" height="900" class="hero-contour-basin-ground"></rect><g class="hero-contour-basin-band hero-contour-basin-band-1"><path stroke-opacity=".25" d="M1270 680.9c2 8.5.7 18.7-3.4 27.6s-11.9 18.5-21.1 25.7c-9.2 7.3-22 13.6-34.1 17.9-12.2 4.2-26.1 6.8-38.8 7.5s-26.2-.3-37.2-3.3c-10.9-3-21.2-8.5-28.4-14.8s-12.3-14.5-14.7-22.9c-2.4-8.3-3.1-18.2.3-27.2s10.7-19.4 20-26.7c9.3-7.2 23.5-13.2 35.9-17s26.1-5.1 38.7-5.6c12.5-.5 25.4 0 36.6 2.6s23 6.9 30.7 12.9 13.5 14.8 15.5 23.3" class="hero-contour-basin-ring"></path><path stroke-opacity=".75" stroke-width="1.52" d="M1349.2 664c3.9 15.9 1.4 35.4-6.3 52.1-7.8 16.7-22.7 34.7-40.1 48.1-17.4 13.5-41.6 25-64.4 32.7-22.7 7.7-48.6 12.3-72.1 13.5-23.5 1.3-48.8-.3-69.1-5.9-20.3-5.5-39.4-15.7-52.9-27.3-13.4-11.7-22.9-26.9-27.8-42.5-4.8-15.5-7.3-34-1.3-50.9 6-17 19.5-37 37.2-50.5 17.7-13.6 45.4-24.2 68.9-30.8 23.4-6.5 48.6-7.9 71.9-8.7s46.7-.4 67.7 4.1c21.1 4.4 43.8 11.8 58.5 22.8s25.9 27.4 29.8 43.3" class="hero-contour-basin-ring hero-contour-basin-accent"></path><path stroke-opacity=".36" stroke-width="1.34" d="M1429.5 647c5.9 23.3 2.2 52.1-9.2 76.7-11.5 24.6-33.8 51.2-59.6 70.8-25.9 19.6-62 36-95.4 47s-70.9 17.3-105.2 19.1c-34.4 1.8-71.1-.3-100.8-8.3-29.6-8-57.3-22.9-77.1-39.8-19.7-16.9-33.6-38.9-41.3-61.7-7.6-22.7-12.9-49.9-4.6-74.8 8.2-25 28-55.3 54.3-75.1 26.3-19.7 68.8-34.5 103.5-43.4 34.7-9 71-9.4 104.9-10.3 33.8-.9 67.3-1.2 98.2 4.8 31 6.1 65.4 15.8 87.5 31.6 22 15.8 38.8 40 44.8 63.4" class="hero-contour-basin-ring"></path><path stroke-opacity=".42" stroke-width="1.51" d="M1510.9 629.7c8.1 30.8 3.2 69.2-12.1 101.7-15.3 32.6-45.3 67.9-79.8 93.6-34.4 25.8-82.8 46.7-127 60.9-44.2 14.1-93 21.8-138.1 24.1-45 2.3-93.2 0-132.1-10.4-38.8-10.4-75.1-30-101.1-52.1-26.1-22.1-44.4-50.7-55.2-80.7-10.8-29.9-20-65.6-9.8-98.8 10.3-33.2 36.1-74.4 71.4-100.3 35.2-25.9 93.7-44.3 139.9-55.2s93.3-9.4 137.5-10.2c44.3-.9 87.2-2.4 128.2 5 40.9 7.3 87.8 18.6 117.5 39s52.6 52.5 60.7 83.4" class="hero-contour-basin-ring"></path><path stroke-opacity=".48" stroke-width="1.69" d="M1593.4 612.1c10.4 38.4 4.2 86.6-15 127.2-19.3 40.6-57.1 84.8-100.4 116.6-43.3 31.7-104.4 56.9-159.4 74.1-55 17.1-115.1 26-170.7 28.7-55.7 2.8-115.1.5-163.2-12.2-48-12.8-92.6-37-125-64.3s-55-62.3-69.4-99.4c-14.3-37-28.6-81.3-16.6-122.9 11.9-41.5 43.8-94.2 88.2-126.3 44.4-32 120.1-53.5 178.1-65.9 58-12.5 115.4-8 169.9-8.7 54.6-.7 106.4-3.8 157.5 4.5 51 8.3 111.1 20.5 148.7 45.3 37.7 24.8 67 64.9 77.3 103.3" class="hero-contour-basin-ring"></path><path stroke-opacity=".75" stroke-width="2.41" d="M1677.1 594.3c12.8 46.1 5.3 104.2-18 153-23.3 48.7-69.3 101.9-121.6 139.7-52.4 37.7-126.5 66.9-192.5 86.8-65.9 20-136.9 29.8-203.1 32.9-66.1 3.2-136.8 1.1-193.9-13.9s-110-43.9-148.7-76.2c-38.8-32.4-65.8-73.7-84-117.8-18.2-44.2-38.6-97.1-25.3-147.1s51.3-114.9 105.1-153S943 436.5 1013 422.9c70-13.5 137.4-5.1 202.1-5.4 64.7-.4 124.9-5.7 186.1 3.3 61.2 8.9 135.2 21.4 181.1 50.3 46 29 82 77.2 94.8 123.2" class="hero-contour-basin-ring hero-contour-basin-accent"></path><path stroke-opacity=".59" stroke-width="2.03" d="M1761.9 576.3c15.4 53.7 6.5 122-20.9 179s-81.9 119.4-143.5 163c-61.7 43.7-149.3 76.6-226.2 99.2s-158.6 33-235.2 36.5c-76.7 3.5-158.3 1.9-224.4-15.3-66.2-17.2-127.1-50.7-172.3-88.1-45.2-37.3-76.5-84.7-98.9-135.9-22.4-51.3-50-112.8-35.7-171.4 14.4-58.7 58.3-136.3 121.8-180.4 63.6-44.2 177.3-70.4 259.5-84.6 82.3-14.2 159.2-.8 233.9-.6 74.7.1 142.8-7.9 214.2 1.4 71.5 9.3 160.1 21.3 214.7 54.2s97.6 89.3 113 143" class="hero-contour-basin-ring"></path><path stroke-opacity=".65" stroke-width="2.2" d="M1847.8 558.1c18.1 61.3 7.8 140.1-23.8 205.4-31.7 65.3-94.9 137-166 186.5-71.1 49.6-172.6 85.7-260.5 110.8-88 25.1-180.3 35.9-267.2 39.8-87 3.8-179.6 2.9-254.6-16.5-75.1-19.3-144-57.4-195.7-99.7-51.6-42.3-87.1-95.6-114.1-153.9-27-58.2-62.9-128.4-47.8-195.8S583 476.4 656.5 426.2c73.6-50.1 208.1-77.9 302.8-92.4 94.7-14.4 180.9 5 265.5 5.7 84.5.8 159.8-10.4 241.7-1.1 81.8 9.3 185.7 20.3 249.2 56.9 63.6 36.6 114.1 101.4 132.1 162.8" class="hero-contour-basin-ring"></path></g><rect width="1600" height="900" fill="url(#hero-contour-basin-veil)" class="hero-contour-basin-veil"></rect></svg>
  <div class="hero-scrim" aria-hidden="true"></div>
  <div class="hero-copy">
    <h1>Your heading</h1>
    <p>Your supporting sentence.</p>
    <a href="#">Your call to action</a>
  </div>
</section>

animation.css

/* Generated by scripts/hero-contour.mjs from heroes/hero-contour-basin/params.json.
   Consumers set four custom properties on any ancestor:
     --pulsar-hero-bg     the ground          (default #0b0a16)
     --pulsar-hero-ink    the contour rings   (default #ffffff)
     --pulsar-accent      the index rings     (default #8a7df7)
     --pulsar-hero-speed  a rate; 2 is twice as fast, 0.5 half speed */
.pulsar-hero-contour-basin {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--pulsar-hero-ink, #ffffff);
}
.pulsar-hero-contour-basin .hero-contour-basin-ground {
  fill: var(--pulsar-hero-bg, #0b0a16);
}
.pulsar-hero-contour-basin .hero-contour-basin-ring {
  fill: none;
  stroke: currentColor;
}
.pulsar-hero-contour-basin .hero-contour-basin-accent {
  stroke: var(--pulsar-accent, #8a7df7);
}
.pulsar-hero-contour-basin .hero-contour-basin-ground-stop {
  stop-color: var(--pulsar-hero-bg, #0b0a16);
}
.pulsar-hero-contour-basin .hero-contour-basin-band {
  transform-box: view-box;
  will-change: transform;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.pulsar-hero-contour-basin .hero-contour-basin-band-1 {
  transform-origin: 1180px 700px;
  animation-name: hero-contour-basin-band-1;
  animation-duration: calc(19s / var(--pulsar-hero-speed, 1));
}
@keyframes hero-contour-basin-band-1 {
  from {
    transform: translate(-26px, -12px) scale(0.98);
  }
  to {
    transform: translate(26px, 12px) scale(1.02);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pulsar-hero-contour-basin .hero-contour-basin-band-1 {
    animation: none;
  }
}

More in this family10 in Contour

All heroes