Void Animation

PreviousNext

Interactive plasma + void ball SVG animation component.

void-animation-default

Installation

pnpm dlx shadcn@latest add https://ui.dalim.in/r/styles/default/void-animation.json

Usage

import { VoidAnimation } from "@/components/ui/void-animation"
<div className="relative h-full w-full rounded-lg border">
  <VoidAnimation
    voidBallsAmount={0}
    voidBallsColor="#fff200"
    plasmaBallsColor="#fff200"
    plasmaBallsStroke="#fff200"
    gooeyCircleSize={30}
    blendMode="overlay"
    className="mx-auto"
  />
</div>

API Reference

VoidAnimation

Renders an animated SVG "void ball" effect with customizable props.

PropTypeDefaultDescription
classNamestringTailwind/CSS classes applied to the <svg> container.
widthnumber300Width of the animation canvas.
heightnumber300Height of the animation canvas.
speednumber1Animation speed multiplier.
colorstring"currentColor"Base color of the plasma glow.
...propsSVGProps<SVGSVGElement>Additional props for the <svg>.