Animated Leaves

PreviousNext

A background utility component that renders colorful animated leaves arranged in circular rings. Useful for decorative sections or ambient motion backgrounds.

animated-leaves-default

Installation

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

Usage

import { AnimatedLeaves } from "@/components/ui/animated-leaves"
<div className="relative h-screen w-full overflow-hidden">
  <AnimatedLeaves />
  <div className="absolute inset-0 z-10 flex items-center justify-center">
    <p className="text-xl font-semibold">Content over animated leaves</p>
  </div>
</div>

API Reference