Open source · MIT · React or plain SVG

blobscape

Seeded, organic background shapes for the web. Same page, same blobs, every time.

npm install blobscape

Open the playgroundRead the docs

What it does

  1. 01

    Seeded

    The same seed (usually the URL path) gives the same layout on every reload, on the server and in the browser.

  2. 02

    Grows with the page

    Longer pages get more blobs, spread evenly but never on a grid. Blobs above never move.

  3. 03

    Behind your content

    Large soft shapes at 40% opacity, aria-hidden and click-through.

  4. 04

    Shards to blobs

    One roundness setting runs from sharp polygons to smooth curves. Bring your own SVG paths too.

  5. 05

    Color and gradients

    Single colors, palettes in sequence or equal shares, and gradients that stay upright.

  6. 06

    React or plain SVG

    A tiny React layer, or a zero-dependency core that writes SVG strings for Node and static sites.

Presets

Five starting points. Spread one, then override anything; each opens in the playground.

presets.blobs

Smooth organic blobs, 600–1200px.

presets.polygons

Sharp angular shards, about one per 800px of height.

presets.pebbles

Polygons with softened corners, a little smaller and closer.

presets.confetti

Many small shapes: a light texture rather than accents.

presets.bubbles

Near-circles of mixed sizes, closer together than blobs.

In React

import { blobscapeParentStyle } from "blobscape";
import { Blobscape } from "blobscape/react";

export function Page({ pathname, children }) {
  return (
    <main style={{ ...blobscapeParentStyle, maxWidth: 720, margin: "0 auto" }}>
      <Blobscape seed={pathname} fullBleed />
      {children}
    </main>
  );
}

The blobs break out to the full browser width and cover the full height of your content. See getting started for Next.js, fixed layers and SVG output.