OPUS/UI

Navigation

Aurora Blobs

Blurred gradient orbs drifting on transform-only keyframes with a film-grain overlay. The cheapest beautiful background there is — and it renders on the server.

csszero-jsrsc2 files · 88 locdeps: clsx, tailwind-merge

Installation

With the shadcn CLI, pointing at this platform’s registry:

npx shadcn@latest add https://opusui.131199999.xyz/r/aurora-blobs.json

Or offline, straight from your opus55 checkout (copies every file it needs):

node ../tailwind_component/opus55/scripts/add.mjs aurora-blobs

Usage

import { AuroraBlobs } from "@/components/opus/backgrounds/aurora-blobs";

<AuroraBlobs className="absolute inset-0" />

API

PropTypeDefaultDescription
colorsstring[]—Up to five blob colours.
backgroundstring—Base colour.
blurnumber64Blur radius (px).
durationnumber22Seconds per loop.
opacity / grainnumber0.9 / 0.12Blob opacity and grain overlay.
classNamestring—Wrapper classes — `absolute inset-0` to fill a relative parent.
childrenReactNode—Content rendered on top.

Notes

  • No canvas, no WebGL — only CSS gradients/masks and compositor-friendly transform animations.
  • Server-component safe unless marked otherwise; animations stop under prefers-reduced-motion.

Command palette