{
  "registryVersion": 1,
  "id": "backgrounds/blooming-wallpaper-background",
  "slug": "blooming-wallpaper-background",
  "category": "backgrounds",
  "title": "Blooming Wallpaper Background",
  "description": "A repeating floral wallpaper of buds that pop into peonies, camellias, and magnolias as bloom waves roll across it; a tap starts a wave and drops a petal.",
  "tags": [
    "nature",
    "background",
    "click",
    "loop",
    "organic"
  ],
  "useCases": [
    "Hero background for a florist, interior boutique, or wallpaper brand",
    "Backdrop for a digital wedding invitation or bridal shower page",
    "Calm section behind a newsletter sign-up for a home and lifestyle shop"
  ],
  "placement": [
    "background",
    "content"
  ],
  "style": [
    "elegant",
    "natural"
  ],
  "intensity": "subtle",
  "stack": {
    "framework": "react",
    "styling": "tailwindcss"
  },
  "dependencies": {
    "npm": {
      "gsap": "^3.13.0",
      "@gsap/react": "^2.1.0"
    },
    "gsapPlugins": []
  },
  "variants": [],
  "version": "1.1.0",
  "updatedAt": "2026-10-13",
  "design": {
    "motion": "smooth",
    "pace": "moderate",
    "radius": "round",
    "scheme": "both",
    "palette": "multicolor",
    "hues": [
      "rose",
      "pink",
      "orange",
      "amber"
    ],
    "triggers": [
      "load",
      "click",
      "loop"
    ]
  },
  "adapt": {
    "colors": [
      {
        "hue": "rose",
        "classes": 0,
        "literals": 20
      },
      {
        "hue": "pink",
        "classes": 0,
        "literals": 10
      },
      {
        "hue": "orange",
        "classes": 0,
        "literals": 6
      },
      {
        "hue": "amber",
        "classes": 0,
        "literals": 4
      }
    ],
    "radiusClasses": [
      "rounded-3xl",
      "rounded-[28px]",
      "rounded-full"
    ],
    "eases": [
      "power1",
      "power2",
      "sine"
    ],
    "durations": [
      0.25,
      3.2
    ]
  },
  "photoSlots": [],
  "sprinkles": [
    {
      "id": "sprinkle/nature/flower-peony@v2",
      "file": "sprinkles/v2/nature/flower-peony.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v2/nature/flower-peony.webp",
      "description": "Peony, pink (flat flower)."
    },
    {
      "id": "sprinkle/nature/flower-camellia@v2",
      "file": "sprinkles/v2/nature/flower-camellia.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v2/nature/flower-camellia.webp",
      "description": "Camellia, pink (flat flower)."
    },
    {
      "id": "sprinkle/nature/flower-magnolia-bloom@v1",
      "file": "sprinkles/v1/nature/flower-magnolia-bloom.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v1/nature/flower-magnolia-bloom.webp",
      "description": "Flower Magnolia Bloom is a nature flowers flat decorative asset in the nature group, created in the Nature style for web compositions, landing pages, and UI decoration."
    },
    {
      "id": "sprinkle/nature/flower-camellia-double@v1",
      "file": "sprinkles/v1/nature/flower-camellia-double.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v1/nature/flower-camellia-double.webp",
      "description": "Flower Camellia Double is a nature flowers flat decorative asset in the nature group, created in the Nature style for web compositions, landing pages, and UI decoration."
    },
    {
      "id": "sprinkle/nature/flower-jasmine-cluster@v1",
      "file": "sprinkles/v1/nature/flower-jasmine-cluster.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v1/nature/flower-jasmine-cluster.webp",
      "description": "Flower Jasmine Cluster is a nature flowers flat decorative asset in the nature group, created in the Nature style for web compositions, landing pages, and UI decoration."
    },
    {
      "id": "sprinkle/nature/flower-poppy-bud@v1",
      "file": "sprinkles/v1/nature/flower-poppy-bud.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v1/nature/flower-poppy-bud.webp",
      "description": "Flower Poppy Bud is a nature flowers flat decorative asset in the nature group, created in the Nature style for web compositions, landing pages, and UI decoration."
    },
    {
      "id": "sprinkle/nature/botanical-fiddle-leaf@v1",
      "file": "sprinkles/v1/nature/botanical-fiddle-leaf.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v1/nature/botanical-fiddle-leaf.webp",
      "description": "Botanical Fiddle Leaf is a nature botanical decorative asset in the nature group, created in the Nature style for web compositions, landing pages, and UI decoration."
    },
    {
      "id": "sprinkle/nature/flower-bouquet@v2",
      "file": "sprinkles/v2/nature/flower-bouquet.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v2/nature/flower-bouquet.webp",
      "description": "Tied bouquet (flat flower)."
    },
    {
      "id": "sprinkle/particles/nature-particle-snow-petal@v1",
      "file": "sprinkles/v1/particles/nature-particle-snow-petal.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v1/particles/nature-particle-snow-petal.webp",
      "description": "Nature Particle Snow Petal is a particles nature decorative asset in the particles group, created in the Nature style for web compositions, landing pages, and UI decoration."
    }
  ],
  "page": "/snippets/backgrounds/blooming-wallpaper-background",
  "preview": "/preview/backgrounds/blooming-wallpaper-background",
  "registryPath": "/registry/snippets/backgrounds/blooming-wallpaper-background.json",
  "install": "npm i gsap @gsap/react",
  "codeLines": 413,
  "readme": "# Blooming Wallpaper Background\r\n\r\n`backgrounds/blooming-wallpaper-background`\r\n\r\nA classic floral wallpaper: a half-drop repeat of closed buds with leaf sprigs and little posies between them, printed on striped paper. Every few seconds a bloom wave rolls in from a corner. As the front reaches each bud it pops open (with a little squash and stretch) into a peony, camellia, magnolia, double camellia, or jasmine, holds for a moment, and folds back into a bud after the wave has passed. Tap anywhere and a wave ripples out from that spot, and the flower at its heart lets one petal drift down. The middle stays calm for your content.\r\n\r\n## When to use\r\n\r\n- Hero background for a florist, interior boutique, or wallpaper brand.\r\n- Backdrop for a digital wedding invitation or bridal shower page.\r\n- Calm section behind a newsletter sign-up for a home and lifestyle shop.\r\n\r\n## Install\r\n\r\n1. `npm i gsap @gsap/react`\r\n2. Copy the code with the **Copy** button on the snippet page and save it as a React component.\r\n3. Use it and put your own content inside:\r\n\r\n```tsx\r\n<BloomingWallpaperBackground className=\"h-[560px] max-w-none rounded-none\">\r\n  <YourHero />\r\n</BloomingWallpaperBackground>\r\n```\r\n\r\n## Props\r\n\r\n| Prop | Type | Default | Description |\r\n| --- | --- | --- | --- |\r\n| `waveEvery` | `number` | `5` | Seconds between the bloom waves that roll in from a random corner. |\r\n| `autoPlay` | `boolean` | `false` | Idle demo for previews: two taps (left, then right) start waves and drop petals, until the visitor interacts. |\r\n| `children` | `ReactNode` | sample hero | Your content, centered over the calm middle. |\r\n| `className` | `string` | `\"\"` | Extra classes for the wrapper (size, corners). |\r\n\r\n## Interaction\r\n\r\n- Click or tap the wallpaper: a bloom wave ripples out from that point and the nearest flower drops a petal. Clicks on links and buttons inside your content are ignored.\r\n- The **Let it bloom** button does the same from the keyboard.\r\n- With `prefers-reduced-motion`, the wallpaper is still and half in bloom (every other flower open).\r\n- Drawing pauses while the panel is off-screen.\r\n\r\n## Photos\r\n\r\nNo photos. Every image is a sprinkle you can use directly from its public URL:\r\n\r\n- `sprinkle/nature/flower-peony@v2`, `sprinkle/nature/flower-camellia@v2`, `sprinkle/nature/flower-magnolia-bloom@v1`, `sprinkle/nature/flower-camellia-double@v1`, `sprinkle/nature/flower-jasmine-cluster@v1` (the open flowers)\r\n- `sprinkle/nature/flower-poppy-bud@v1` (the closed bud of every motif)\r\n- `sprinkle/nature/botanical-fiddle-leaf@v1` and `sprinkle/nature/flower-bouquet@v2` (fillers between the flowers)\r\n- `sprinkle/particles/nature-particle-snow-petal@v1` (the falling petal, tinted pink with `hue-rotate`; drop the filter if you swap in a pink petal)\r\n\r\n## Customization\r\n\r\n- `layout()` builds the repeat: the cell size (76–112 px, about a seventh of the width), the half-drop offset, and which flower goes where.\r\n- `OPENING`, `HOLD`, and `CLOSING` set how long a flower takes to open, stays open, and folds back; `CROSSING` is how long the wave front takes to cross the panel.\r\n- Light mode is cream paper with rose stripes; dark mode is aubergine paper with gold stripes and slightly dimmed flowers.\r\n- The calm middle is a radial gradient over the canvas; resize its ellipse if your content is wider.\r\n",
  "sourceDir": "snippets/backgrounds/blooming-wallpaper-background",
  "thumbnail": "/registry/thumbnails/backgrounds/blooming-wallpaper-background.webp",
  "thumbnailDark": "/registry/thumbnails/backgrounds/blooming-wallpaper-background.dark.webp",
  "codeAccess": "The code is not in this file. Get it with the MCP tool get_snippet and an InWebAsset API key (header Authorization: Bearer aw_...; sign in at /agents to create one), or with the Copy button on the snippet page after signing in. Free accounts can take snippet code 5 times per day (every fetch counts, also of a snippet fetched before); Pro accounts have no limit."
}
