BlobCDN

Beautiful random SVG blobs, instantly

API Endpoint

https://blobcdn.com/blob.svg

Quick Start

Get started in seconds with your favorite framework

HTML

Simple image tag

<img src="https://blobcdn.com/blob.svg" 
     alt="Blob" />

React / Next.js

Component usage

export default function Hero() {
  return (
    <img 
      src="https://blobcdn.com/blob.svg?seed=123" 
      alt="Blob"
      width={400}
      height={400}
    />
  )
}

CSS Background

As background image

.hero {
  background-image: 
    url('https://blobcdn.com/blob.svg');
  background-size: cover;
  background-position: center;
}

Tailwind CSS

Using utility classes

<div 
  className="h-64 w-64 bg-cover bg-center"
  style={{
    backgroundImage: 
      "url('https://blobcdn.com/blob.svg')"
  }}
/>

Custom Parameters

With specific styling

<img 
  src="https://blobcdn.com/blob.svg
       ?seed=myblob
       &size=512
       &fill=8b5cf6
       &stroke=000000
       &strokeWidth=2" 
  alt="Custom Blob" 
/>

Dynamic Generation

Generate on demand

const getBlob = (seed) => {
  return `https://blobcdn.com/blob.svg
          ?seed=${seed}`;
}

<img src={getBlob('unique-id') || "/placeholder.svg"} />

Examples

Explore different styles and parameter combinations

Smooth Organic

Smooth Organic

Minimal points, low randomness

extraPoints=2&randomness=3
Complex Shape

Complex Shape

Many points, high variation

extraPoints=8&randomness=10
Outlined Style

Outlined Style

Transparent fill with stroke

fill=transparent&stroke=8b5cf6&strokeWidth=3
Vibrant Gradient

Vibrant Gradient

Bold color with glow effect

fill=f59e0b&extraPoints=5
Minimal Blob

Minimal Blob

Simple three-point shape

extraPoints=0&randomness=4
Chaotic Form

Chaotic Form

Maximum variation

extraPoints=12&randomness=15

Parameters

Customize your blobs with URL parameters

seedNumber | String

A given seed will always produce the same blob

Default:random
extraPointsNumber

Actual number of points will be 3 + extraPoints

Default:4
randomnessNumber

Increases the amount of variation in point position

Default:6
sizeNumber

Size of the bounding box in pixels

Default:256
fillHexColor

Color for shape

Default:random
strokeHexColor

Color for stroke

Default:none
strokeWidthNumber

Width for stroke line

Default:0

Example Usage

https://blobcdn.com/blob.svg?seed=123&size=512&fill=8b5cf6